Cloudflare 522 error only when accessing /wp-admin urls

So I am facing 522 error from Cloudflare, whenever I visit any admin URL on my WordPress site, I have not installed any plugins recently. So this issue is started out of nowhere. Any help would be appreciated.

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

To troubleshoot the problem further you would need to first SSH to your server and then I could suggest a few things here:

  • Check if your MySQL server is up and running:
sudo systemctl status mysql
  • Check if your Apache service is running:
sudo systemctl status apache2
  • Check if there are any errors in your Apache error log:
sudo tail -100 /var/log/apache2/error.log
  • If there are any errors in the Apache error log, I could suggest following the steps from this tutorial here:

Let me know how it goes!

Regards, Bobby