Why is it so often that the Error 521 comes for my website.

April 14, 2019 366 views

I’ve been recently getting the ERROR 521 so often. Can someone help why and what can we do to stop this. Can’t have the website down. The mobile site is running fine but the Desktop version has issues.

1 Answer


What I could suggest here are a few things:

  • Check the RAM and the CPU usage during the 521 errors

  • Check your services like Apache/MySQL/PHP and etc. in order to determine if any of them is crashing

  • Check your server logs for any specific errors

  • Try to optimize your Wordpress site so that it consumes less resources - for example install a caching plugin, reduce the number of the overall plugins that you are using, optimize your images and etc.

Once you’ve gathered this information then you could take some actions like maybe adding some extra resources like RAM and extra CPUs and/or optimize your services.

In case that you need some extra guidance, you could provide me with extra details on the current setup that you have like what is the web server that you are using, a copy of your log files during some of the 521 errors and etc.


Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!