5xx Server error · Non-standard, Cloudflare
522 Connection Timed Out
Cloudflare-specific: Cloudflare could not establish a TCP connection to the origin.
The origin didn’t answer the connection attempt in time — it may be down, overloaded or blocking Cloudflare.
Common causes and fixes
- Check that the origin is up and listening on the right port.
- Allow Cloudflare IP ranges in your firewall or security group.
- Verify the DNS record points to the correct origin IP.
Example response
HTTP/1.1 522 Connection Timed Out
Date: Thu, 22 Oct 2026 08:00:00 GMT Check a URL’s status with curl -I https://example.com, which prints the status line and headers.