Skip to content
5xx · Server Error

522 Connection Timed Out

A Cloudflare error meaning the connection to the origin server timed out before it was established.

What it means

HTTP 522 is a non-standard Cloudflare status returned when the TCP connection between Cloudflare and the origin could not be set up within the allowed time. Unlike 521, where the origin actively refuses, here the origin simply never completes the handshake.

When it happens

It happens when the origin is overloaded and too slow to accept connections, when a firewall silently drops Cloudflare's packets, when the origin IP in DNS is wrong, or when network routing between Cloudflare and the origin is broken.

How to fix it

  • Check that the origin is not overloaded and can accept new connections promptly.
  • Confirm the firewall allows Cloudflare's IP ranges instead of silently dropping them.
  • Verify the DNS record points to the correct, reachable origin IP.
  • Investigate network or routing issues between Cloudflare and the origin.

SEO impact

Damaging if sustained. A timeout reads as a server failure to crawlers, blocking indexing and reducing crawl rate if it recurs.

Check it with Sitewell

Find out which of your URLs return 522

Paste a list of URLs and Sitewell checks the status code of every one at once — free and without signup.

Related codes

Related guides