Cloudflare Error 522 Connection Timed Out
Cloudflare error 522 means Cloudflare’s TCP connection to your origin server timed out before it was established. The origin is overloaded, unreachable, or…
Quick answer
Cloudflare error 522 means Cloudflare’s TCP connection to your origin server timed out before it was established. The origin is overloaded, unreachable, or dropping Cloudflare’s packets, or the DNS record points to the wrong IP.
Last updated · Maintained by FreeAIToolz · How we test
What does Cloudflare Error 522 Connection Timed Out mean?
Cloudflare waited for the TCP handshake (or for the response to start) and gave up. Unlike 521, nothing actively refused the connection; packets were dropped or the server was too busy to answer.
| Status code | 522 |
|---|---|
| Name | Connection Timed Out |
| Class | 5xx Server Error |
| Defined in | Cloudflare (non-standard) |
| Safe to retry automatically? | Yes, with backoff |
What causes Cloudflare Error 522?
- Origin overloaded or out of connections.
- Firewall silently dropping Cloudflare IP ranges.
- Wrong origin IP in the Cloudflare DNS record.
- Network routing problems to the origin host.
How do I fix Cloudflare Error 522?
- Check the DNS A/AAAA record points to the correct origin IP.
- Allow Cloudflare IP ranges in the firewall and security groups.
- Check server load and connection limits; scale if needed.
What should a client do after Cloudflare Error 522?
Retry later.
Does Cloudflare Error 522 affect SEO?
Seen as a server error by Googlebot; persistent 522s reduce crawling and can de-index pages.
Other 5xx status codes
The server failed to fulfil a valid request. Retrying later, with backoff, is usually reasonable.
- 500 Internal Server Error
- 501 Not Implemented
- 502 Bad Gateway
- 503 Service Unavailable
- 504 Gateway Timeout
- 505 HTTP Version Not Supported
- 507 Insufficient Storage
- 508 Loop Detected
- 511 Network Authentication Required
- 520 Web Server Returned an Unknown Error
- 521 Web Server Is Down
- 523 Origin Is Unreachable
- 524 A Timeout Occurred
- 525 SSL Handshake Failed
- 526 Invalid SSL Certificate
Frequently asked questions
Why do I get 522 after moving hosts?
522 vs 524?
Is 522 a client or server error?
Related
- 521 Web Server Is Down Cloudflare error 521 means Cloudflare could not connect to your origin server because the connection was refus.
- 524 A Timeout Occurred Cloudflare error 524 means Cloudflare connected to your origin, but the origin did not send an HTTP response w.
- 504 Gateway Timeout HTTP 504 Gateway Timeout means a gateway or proxy did not get a response from the upstream server in time.
- 523 Origin Is Unreachable Cloudflare error 523 means Cloudflare cannot reach your origin server at all, usually because the DNS record p.
- Open the HTTP Status Codes Reference → Free, no signup.