Start free · Free tools · Fair usage limits
Browse Tools

Categories

Custom AI Solutions – AI2Flows
LIVE NEWS
Loading latest AI & SEO news…
Home›Tools›HTTP Status Codes Reference›Cloudflare Error 522 Connection Timed Out
5xx Server Error · non-standard

Cloudflare Error 522 Connection Timed Out

Cloudflare error 522 means Cloudflare’s TCP connection to your origin server timed out before it was established. The origin is overloaded, unreachable, or…

Quick answer

Cloudflare error 522 means Cloudflare’s TCP connection to your origin server timed out before it was established. The origin is overloaded, unreachable, or dropping Cloudflare’s packets, or the DNS record points to the wrong IP.

Last updated · Maintained by FreeAIToolz · How we test

What does Cloudflare Error 522 Connection Timed Out mean?

Cloudflare waited for the TCP handshake (or for the response to start) and gave up. Unlike 521, nothing actively refused the connection; packets were dropped or the server was too busy to answer.

Status code522
NameConnection Timed Out
Class5xx Server Error
Defined inCloudflare (non-standard)
Safe to retry automatically?Yes, with backoff

What causes Cloudflare Error 522?

  • Origin overloaded or out of connections.
  • Firewall silently dropping Cloudflare IP ranges.
  • Wrong origin IP in the Cloudflare DNS record.
  • Network routing problems to the origin host.

How do I fix Cloudflare Error 522?

  1. Check the DNS A/AAAA record points to the correct origin IP.
  2. Allow Cloudflare IP ranges in the firewall and security groups.
  3. Check server load and connection limits; scale if needed.

What should a client do after Cloudflare Error 522?

Retry later.

Does Cloudflare Error 522 affect SEO?

Seen as a server error by Googlebot; persistent 522s reduce crawling and can de-index pages.

Other 5xx status codes

The server failed to fulfil a valid request. Retrying later, with backoff, is usually reasonable.

Frequently asked questions

Why do I get 522 after moving hosts?
The Cloudflare DNS record still points to the old server’s IP, or the new host’s firewall blocks Cloudflare. Update the A record and allow Cloudflare IPs.
522 vs 524?
522: the connection to the origin could not be established. 524: the connection worked but the origin took too long (over 100 seconds) to respond.
Is 522 a client or server error?
522 is in the 5xx class, a server error: the request may be fine, but the server (or the origin behind Cloudflare) could not complete it.