DevToolPal
EN
5xx Server errors Non-standard

522 Connection Timed Out

What it means

Cloudflare-specific: the TCP connection to the origin timed out.

Common causes

  • Origin overloaded
  • Network or routing issues
  • Firewall silently dropping Cloudflare packets

How to fix it

As a client or visitor

Retry later.

As the site or API owner

Check server load, keep-alive settings, and that Cloudflare IP ranges are not dropped by the firewall.

Example response

HTTP/1.1
HTTP/1.1 522 Connection Timed Out
Date: Tue, 07 Oct 2025 09:30:00 GMT
Server: nginx
Content-Length: 0

Specification

Not in the IANA registry; used by Cloudflare. Cloudflare

FAQ

› How long does Cloudflare wait before 522?

About 15 seconds for the TCP connection to be established.

› Does 522 mean my site is down?

It means Cloudflare could not connect; the server may be up but unreachable or overloaded.