Community Tip - Fixing Error 522 | 522 error
ErrorTrythesuggestionsinthisCommunityTiptohelpyoufixError522“ERRCONNECTIONTIMEDOUT”inGoogleChromeor“Theconnectionhastimedout”inFirefox.BackgroundA522errorhappenswhenaTCPconnectiontothewebservercouldnotbeestablished.ThistypicallyhappenswhenCloudflarerequeststotheorigin(yourwebserver)getblocked.Whenthishappens,you’llsee“ERR_CONNECTION_TIMED_OUT”.QuickFixIdeasMakesurethatyou’renotblockingCloudflareIPsin.htaccess,iptables,oryourfirewall.Makesureyourhostingproviderisn’tratelimitingorblockingIPreq...
ErrorTry the suggestions in this Community Tip to help you fix Error 522 “ERR CONNECTION TIMED OUT” in Google Chrome or “The connection has timed out” in Firefox.
BackgroundA 522 error happens when a TCP connection to the web server could not be established. This typically happens when Cloudflare requests to the origin (your webserver) get blocked. When this happens, you’ll see “ERR_CONNECTION_TIMED_OUT”.
Quick Fix Ideas
Make sure that you’re not blocking Cloudflare IPs in .htaccess, iptables, or your firewall.
Make sure your hosting provider isn’t rate limiting or blocking IP requests from the Cloudflare IPs and ask them to whitelist the IP addresses here: https://www.cloudflare.com/ips[1]. If the IPs that fail are consistent each time, that indicates some of the IPs in Cloudflare’s IP ranges are either being rate-limited or blocked by a network device at your hosting provider. Because Cloudflare operates as a reverse proxy the IP address y...