5xx Server error Non-standard · used by Cloudflare
HTTP 522 Connection Timed Out
A Cloudflare code: Cloudflare couldn’t complete a connection to the origin server before it timed out. The origin may be overloaded, offline, or silently dropping Cloudflare’s packets.
Documented in Cloudflare: 5xx errors(opens in a new tab)
//_01 Uptime checks
Is 522 up or down for a monitor?
Uptimecheck HTTP monitor
Default settings
Down. It is outside the default 200–399 range, so a monitor reports an outage once a second check confirms it. If 522 is the answer you expect from that URL, add it to the monitor’s expected status codes.
Is it down? checker
Free, at /is-it-down/
Down. A 5xx means the server, or something in front of it, failed to answer.
//_02 Causes and fixes
Why you see 522 and what to do
Typical causes
- An overloaded origin server.
- A firewall that drops (rather than rejects) Cloudflare’s addresses.
- A wrong origin IP address in the DNS settings.
If you run the site
- Check the origin’s load and that its firewall allows Cloudflare’s IP ranges.
- Check that the DNS record in Cloudflare points at the right server.
If you’re a visitor
- Try again later; the site’s server isn’t answering.
Know the moment your site stops answering as it should
An Uptimecheck monitor requests your page as often as every 30 seconds on Business, checks the status code against the ones you expect, confirms a failure with a second check and then alerts you.
14-day free trial · Then free on 20 monitors · No credit card
Questions
What does HTTP 522 mean?
A Cloudflare code: Cloudflare couldn’t complete a connection to the origin server before it timed out. The origin may be overloaded, offline, or silently dropping Cloudflare’s packets.
Does an uptime monitor count 522 as down?
Down. It is outside the default 200–399 range, so a monitor reports an outage once a second check confirms it. If 522 is the answer you expect from that URL, add it to the monitor’s expected status codes.
Related status codes
All status codes- 521 Web Server Is Down The origin server refused Cloudflare’s connection.
- 524 A Timeout Occurred The origin server accepted the connection but answered too slowly.
- 504 Gateway Timeout A proxy didn’t get an answer from the server behind it in time.
Hear it from us, not your customers.
Click around the live demo without an account, or start your trial and add your first monitor.
14-day free trial · Then free on 20 monitors · No credit card