cloudflare / Cloudflare
Cloudflare Error 522: Connection Timed Out
Cloudflare timed out contacting the origin: no SYN+ACK within 19 seconds, or no data after the connection was established within 90 seconds.
Visible symptoms
- A page shows Cloudflare Error 522.
- HTTP status 522.
Safe verification and recovery
Check origin access first
Confirm all Cloudflare IP ranges are allowed and not rate limited or blocked in .htaccess, iptables or firewalls. The documentation calls this the most common cause.
Check origin health and keepalives
An overloaded or offline origin can drop requests; enable keepalives on the origin.
Verify the DNS origin IP
Check that the origin IP in Cloudflare DNS matches the IP your hosting provider currently assigns.
Check special setups
A Worker that fetches its own hostname causes 522, and an Origin Rule or A record pointing at a reserved address such as 100:: or 192.0.2.0 also causes it.
Matching evidence and limitations
Reported error signals
Matches the documented error signal; it identifies the documented case, not the exact root cause of your request.
The local analyzer never executes suggested commands or treats a possible match as certainty.