{"id":2939,"date":"2019-10-23T17:39:44","date_gmt":"2019-10-23T09:39:44","guid":{"rendered":"https:\/\/www.mondoze.com\/guide\/?post_type=kb&p=2939"},"modified":"2022-10-05T08:00:27","modified_gmt":"2022-10-05T00:00:27","slug":"error-522-connection-timed-out","status":"publish","type":"kb","link":"https:\/\/www.mondoze.com\/guide\/kb\/error-522-connection-timed-out","title":{"rendered":"Error 522: Connection timed out"},"content":{"rendered":"\t\t
Error 522 indicates that Cloudflare is unable to reach the origin web server and the request times out.\u00a0<\/p>
As a first step in troubleshooting Error 522:<\/p>
Several conditions may cause Error 522 to appear. The most common causes include:<\/p>
Other possible causes may also include:<\/p>
Below, you will find additional information for the most common causes.<\/p>
A server could be dropping requests as a result of an overload condition.\u00a0What constitutes a high load can differ depending on the server’s hardware and software.<\/p>
Generally, a load average of over 10-20 could mean that the server is overloaded. To check for this on Linux\/Unix, you can run the\u00a0w<\/strong>\u00a0or\u00a0top<\/strong>\u00a0commands in the terminal window.<\/p> If you’re unable to verify web server load on your own, check with your host or a system administrator.<\/p> Blocking Cloudflare requests is the most common cause of intermittent 522 errors.<\/p> When traffic flows through a Cloudflare-enabled website, the origin web server sees all requests as coming from a handful of Cloudflare IP addresses. This can often trigger firewalls and IP rate-limiters to block Cloudflare requests, thinking that the website is under attack.\u00a0CPHulk<\/strong>\u00a0(which comes with\u00a0cPanel<\/strong>) and other services have been known to do this.<\/p> To avoid this situation, make sure that:<\/p>Blocked Cloudflare requests<\/strong><\/h4>