toshiki-http official publicity logo

Toshiki's HTTP

522 Connection Timed Out

Connection Timed Out

Description

The HTTP response status code 522 is an unofficial HTTP status code specific to Cloudflare.

The 522 error occurs when Cloudflare times out contacting the origin web server. Two different timeouts cause HTTP error 522 depending on when they occur between Cloudflare and the origin web server:

  • Before a connection is established, the origin web server does not return a SYN+ACK to Cloudflare within 15 seconds of Cloudflare sending a SYN.
  • After a connection is established, the origin web server doesn’t acknowledge (ACK) Cloudflare’s resource request within 90 seconds.