CF is randomly loosing port number in HTTP header "host"
I'm not sure if this is the right place to report a bug.
Cloudflare is randomly sending wrong "host" HTTP header to end server (loosing port number). Once per every approx. 15-20 requests.
More details:
My HTTPS server is listening on port 8443.
Traffic is routed through Cloudflare.
Here is an example URL: https://check-cf.vezha.com:8443/testCrawl
Normally my webserver is connected to port 8443 and HTTP header "host" is filled with
But once per approximately 15-20 GET requests, my server is getting request with incorrect "host" header:
The mentioned webserver is configured specially to show the problem for you.
It is using the following trivial Nginx config for the domain
Here is how I automate executing HTTP requests:
Here is a typical Bash script output:
Here is an example of HTTP response headers for the case when port number was lost by CF:
Cloudflare is randomly sending wrong "host" HTTP header to end server (loosing port number). Once per every approx. 15-20 requests.
More details:
My HTTPS server is listening on port 8443.
Traffic is routed through Cloudflare.
Here is an example URL: https://check-cf.vezha.com:8443/testCrawl
Normally my webserver is connected to port 8443 and HTTP header "host" is filled with
check-cf.vezha.com:8443.But once per approximately 15-20 GET requests, my server is getting request with incorrect "host" header:
check-cf.vezha.com. The port number is missing.The mentioned webserver is configured specially to show the problem for you.
It is using the following trivial Nginx config for the domain
check-cf.vezha.com:Here is how I automate executing HTTP requests:
Here is a typical Bash script output:
Here is an example of HTTP response headers for the case when port number was lost by CF: