HTTP 522 Connection Timed Out

Cloudflare timed out while connecting to the origin server.

Updated

522
Connection Timed Out
5xx Server error
Class
Cloudflare (non-standard)
Defined in

What does HTTP 522 mean?

Cloudflare timed out while connecting to the origin server. The TCP connection to the origin was not established in time — the server is overloaded, unreachable or a firewall silently drops packets.

5xx Server error: The request looked valid, but the server failed to fulfil it. The fix is on the server side.

Common causes of a 522 error

  • Origin overloaded or offline.
  • Wrong origin IP in the DNS settings.
  • Firewall dropping Cloudflare traffic.

How to fix 522 Connection Timed Out

  • Verify the origin IP in Cloudflare DNS.
  • Check server load and firewall rules.

522 and SEO

Treated like a 5xx error.

Example response

HTTP/1.1 522 Connection Timed Out

Related status codes

  • 521 Web Server Is Down — Cloudflare could not connect to the origin server — the connection was refused.
  • 524 A Timeout Occurred — Cloudflare connected to the origin, but it did not send a response within 100 seconds.
  • 504 Gateway Timeout — A gateway or proxy did not get a response from the upstream server in time.

Check which status code a URL returns with the HTTP header checker.

All HTTP status codesSearch the full list of status codes from 100 to 599 with their meanings and SEO impact.
Open the full list

Frequently asked questions

What does status code 522 mean?
522 Connection Timed Out: Cloudflare timed out while connecting to the origin server.
How do I fix a 522 error?
Verify the origin IP in Cloudflare DNS. Check server load and firewall rules.
Does 522 affect SEO?
Treated like a 5xx error.