Hi, there,
I’ve recently set up some Cloudflare proxied services. All of them work as expected, except a single url (as follows) that always return a “404 - Page Not Found” titled response with a status code of 200 even when the origin server is down!
http(s)://api.*******.com/v1/apiinfo/version
Unexpected response:
$ curl --head
https://api.******.com/v1/apiinfo/version
HTTP/1.1 200 OK
Date: Mon, 07 Nov 2022 07:05:09 GMT
Content-Type: text/html
Content-Length: 18318
Connection: keep-alive
portzilla-error: false
Pragma: no-cache
Report-To: {“endpoints”:[{“url”:“https://a.nel.Cloudflare.com/report/v3?s=uGAUSVBM7zVXFFFxui38u2AyCTbexjfPNVoQvsZpVOPZk41GaMsBOxNvE%2FB%2B6OXx8fwVp7NjxT3mBvIu%2BqlJ6xuTXt%2Fpu126vuMKpfVmAmfwTt85wcnSgHyl9ZkceIq0sL4%3D”}],“group”:“cf-nel”,“max_age”:604800}
NEL: {“success_fraction”:0,“report_to”:“cf-nel”,“max_age”:604800}
Server: Cloudflare
CF-RAY: 766437e96d7d97d9-SJC
alt-svc: h3=“:443”; ma=86400, h3-29=“:443”; ma=86400
Please see the expected response on another url:
$ curl --head
https://api.*****.com/v1/apiinfo/test123
HTTP/1.1 522
Date: Mon, 07 Nov 2022 07:03:23 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
CF-Ray: 766434b42bdbaab5-SJC
...
I’ve tried the following with no luck :
- append url with random query string eg: ?test1234
- turn on/off Page Rules
- Purge Everything
- switch SSL/TLS encryption mode to OFF/Flexible/Full/Full(strict)
- switch to http/https
Thanks in advance for any help!