522Connection Timed Out
The website's own server did not answer the connection attempt in time.
At a glance
- Class
- 5xx: Server error
The server failed to answer a valid request.
- Standard
- Unofficial
Not part of the HTTP standard. Only certain servers, proxies or services send it. Source: Cloudflare.
- A check counts as
- Failed
The request was fine and the server failed to answer it. Every code of this class counts as a failed check. If all locations get one, the website is shown as down; if only some do, as partially down.
What you can do
For 522 and the other codes of the class 5xx
- If you see it as a visitor
- It is not your device or your connection. Reloading in a minute or two is all you can do.
- Check the website here to see whether other locations get the same error.
- If it lasts, tell the operator of the website, through another channel if you have one.
- If it is your website
- 500: read the error log of the application. The cause is almost always an unhandled error in the code or a dependency that failed, such as the database.
- 502 and 504: the proxy, load balancer or CDN is up, but the application behind it does not answer. Check that it is running, that it has free workers, and the timeouts between the layers.
- 503: the server is overloaded or in maintenance. Check the load, the connection limits and whether a deployment left it in maintenance mode.
- 520 to 526: Cloudflare could not get a proper answer from your own server. Check that the server is reachable from Cloudflare, that its firewall lets Cloudflare through and that its certificate is valid.
Seeing 522 on a website right now?
Check whether it answers the same way from other places in the world.
Other 5xx codes
- 500Internal Server Error
- 501Not Implemented
- 502Bad Gateway
- 503Service Unavailable
- 504Gateway Timeout
- 505HTTP Version Not Supported
- 506Variant Also Negotiates
- 507Insufficient Storage
- 508Loop Detected
- 509Bandwidth Limit Exceeded
- 510Not Extended
- 511Network Authentication Required
- 520Web Server Returned an Unknown Error
- 521Web Server Is Down
- 523Origin Is Unreachable
- 524A Timeout Occurred
- 525SSL Handshake Failed
- 526Invalid SSL Certificate
- 527Railgun Error
- 529Site Is Overloaded
- 530Site Is Frozen
- 561Unauthorized
- 598Network Read Timeout
- 599Network Connect Timeout