What does 522 Connection Timed Out mean?
Cloudflare-specific: the TCP connection to the origin timed out.
Common causes
- Origin overloaded
- Wrong origin IP in DNS
- Firewall dropping packets
How to fix it
- Check DNS points to the right IP
- Check origin load and firewall
522 and webhooks
Retried by providers.
Test how your client handles 522
In the webhook tester you can add a response rule that answers 522 — useful to check retries, error handling and alerts before production.
FAQ
What does HTTP 522 mean?
Cloudflare: could not connect to the origin. Cloudflare-specific: the TCP connection to the origin timed out.
Is 522 an error?
Yes — a server error: the request may succeed if retried later.
Other 5xx codes
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