EN
522Cloudflare errors (52x)

HTTP 522 Connection Timed Out

Cloudflare timed out while trying to connect to the website's server.

Quick answer

HTTP status code 522 (Connection Timed Out) means: Cloudflare timed out while trying to connect to the website's server. Yes, a server error: the website failed to handle the request. Usually only the site owner or host can fix it.

Codes 520–526 are not part of the official HTTP standard; they are returned by Cloudflare's network.

Is it an error?

Cloudflare errors (52x)

Yes, a server error: the website failed to handle the request. Usually only the site owner or host can fix it.

Unofficial codes returned by Cloudflare when it cannot get a valid response from the website's own (origin) server.

Common causes

  • Firewall or security plugin blocking the proxy/CDN's IP addresses
  • Server overloaded, out of resources or under maintenance
  • DNS records pointing to the wrong server

If you are visiting the site

  1. Wait a few minutes before trying again
  2. Contact the website if the problem continues

If you run the website

  1. Allow Cloudflare's IP ranges in the server firewall and security plugins
  2. Add server resources or caching and check for traffic spikes
  3. Check that DNS A/AAAA records point to the correct server IP
  4. Ask your hosting provider to check the server

Frequently asked questions

What does HTTP 522 mean?

HTTP status code 522 (Connection Timed Out) means: Cloudflare timed out while trying to connect to the website's server.

Is HTTP 522 an error?

Yes, a server error: the website failed to handle the request. Usually only the site owner or host can fix it.

How do I fix a 522 error?

If you are visiting the site: Wait a few minutes before trying again; Contact the website if the problem continues. If you run the website: Allow Cloudflare's IP ranges in the server firewall and security plugins; Add server resources or caching and check for traffic spikes; Check that DNS A/AAAA records point to the correct server IP; Ask your hosting provider to check the server.

Cloudflare errors (52x)