← All Status Codes
522
Connection Timed Out
☁️ Cloudflare
Critical Risk
📖 What Is HTTP 522?
Cloudflare-specific. The TCP connection to the origin server timed out. Cloudflare could not establish a connection within 15 seconds.
🛡️ Security Implications
May indicate the origin is overloaded or under attack. SYN flood attacks can cause connection timeouts.
🔍 Common Causes
Origin server overloaded, network issue between Cloudflare and origin, firewall rate-limiting Cloudflare, keepalive disabled.
🔧 How to Fix
Check origin server load. Whitelist Cloudflare IPs. Enable TCP keepalive on the origin. Check for network routing issues.
🖥️ How to Check
curl -I -o /dev/null -w "%{http_code}" https://example.com