HTTP status code
522 Connection Timed Out
Cloudflare could not finish a TCP connection to your origin in time. The server did not refuse — it just never answered.
Common causes
- The origin is overloaded and not accepting new connections.
- A firewall drops (rather than rejects) packets from Cloudflare.
- The DNS record in Cloudflare points at the wrong origin IP.
How to fix it
- Check server load and connection backlog at the time of the error.
- Allow Cloudflare IP ranges and check for rate-limiting rules.
- Verify the A/AAAA record in Cloudflare matches your current server.