Arbitrary 522 Timeout Error Instantly Generated

I am running a php website with AWS origin server. I am sometimes getting an arbitrary 522 error page when I click on a link on my page. It is instantaneous, not waiting for any length of time before timing out. Once I refresh, it comes back up fine so cannot troubleshoot.

The 522 “timeout” is a bit of a misnomer:

A 522 error typically happens when Cloudflare requests to the origin (your webserver) get blocked. Review the suggestions in this Community Tip for troubleshooting ideas.

Thanks for your response. However it does not look like the issue is at AWS on the host. I tried going directly to the origin server and clicking around with no issues. Our ports are open to the world so there is no blocking. When going through Cloudflare and clicking around, that’s when we arbitrarily see these timeout messages, and it seems to happen as soon as we click the link on our page that the error appears, then if we refresh the page, all is ok.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.