#TIL : Cloudflare Error 522 Connection Time out


18 May 2017 / by KhanhIceTea

If you are using Cloudflare as a proxied web server, it will provide many benefits about performance (assets caching, prevent DDOS and cheap CDN). But sometimes, you will face to this error "522 Connection Time out".

The problems caused by :

  • Networking (CF can't touch origin server : Firewall blocking, Network Layer #1,#2,#3 issue)
  • Timeout (origin server process too long than 90 seconds)
  • Empty or invalid response from origin server
  • No or big HTTP headers (> 8Kb)
  • Failed TCP handshake

Ref:


Sound good ?