What does HTTP 522 mean?
Cloudflare timed out while connecting to the origin server. The TCP connection to the origin was not established in time — the server is overloaded, unreachable or a firewall silently drops packets.
5xx Server error: The request looked valid, but the server failed to fulfil it. The fix is on the server side.
Common causes of a 522 error
- Origin overloaded or offline.
- Wrong origin IP in the DNS settings.
- Firewall dropping Cloudflare traffic.
How to fix 522 Connection Timed Out
- Verify the origin IP in Cloudflare DNS.
- Check server load and firewall rules.
522 and SEO
Treated like a 5xx error.
Example response
HTTP/1.1 522 Connection Timed Out
Related status codes
- 521 Web Server Is Down — Cloudflare could not connect to the origin server — the connection was refused.
- 524 A Timeout Occurred — Cloudflare connected to the origin, but it did not send a response within 100 seconds.
- 504 Gateway Timeout — A gateway or proxy did not get a response from the upstream server in time.
Check which status code a URL returns with the HTTP header checker.