Hi all, all the best.

There is a reason for site keep down randomly on Safari?

I'm using nginx + cloudflare (Ubuntu 20)

The error fired is 522 (Connection timed out) and fires randomly. How can I investigate the source of this?

Hello, it is recommended to cancel cloudflare first, and then check whether it is caused by the source server?
This is generally caused by cloudflare not being able to connect to the source server normally, and check whether the status of the source server is normal?

    aaPanel_Kern Hi Kern!

    in the logs I only see GET and POST entries with 522 and 404 errors, nothing very informative. Is there a specific place to do a deeper investigation to find out if I need to disable Cloudflare?

    My server is suffering from constant attacks, but I have fail2ban and Wordfence on Wordpress.

      aaPanel_Kern Hi Kern.

      The error logs don't show anything related, some file stuff missing (already resolved) and nothing else. I noticed there is conflict between aapanel/server SSL with Cloudflare, but I can't pause or remove cloudflare. I've tried many things, but nothing works.

      I tried:

      install a CF certificate itself (didn't work)
      Keep one certificate only (I disabled one and it didn't work)

      With that, I can't access the site with http:// or http://www because it gives connection timed out... With https://sitename.com it works.

        6 months later

        get this message when wget aapanel installer
        HTTP request sent, awaiting response... 522
        2024-01-07 09:06:08 ERROR 522: (no description).