I’m developing an android app and I’m about to change my system from a php communication to a socket communication. So on my local network this was working perfectly fine but not on cloudflare. I’ve tried different http ports now. On my local network and with my IP adress I can choose whatever port I want it works but if I’m redirecting the connection over cloudflare I’m always getting an ‘400 Bad Request’. The only thing I do is replacing my IP with my domain “fawatcher.de” in the config file. Does anybody knows what to do?
This is what I get from cloudflare:
I/System.out: HTTP/1.1 400 Bad RequestServer: cloudflareDate: Sat, 08 Jun 2019 00:32:23 GMTContent-Type: text/htmlContent-Length: 171Connection: closeCF-RAY: -400 Bad Request
400 Bad Request