I have a website https://www.skillsbd.com/ and I show frequently error 521.
I have checked that:
- Web Application Firewall (ModSecurity) is disabled for the domain.
- Cloudflare IP addresses were added to the nginx configuration and nginx was restarted.
- Cloudflare Ip addresses are not blocked by Fail2ban (Fail2ban was temporarily disabled but the issue was not resolved, so it was enabled again).
Using AWS LightSail Cloud service.
Plesk Web Hosting, recommended to contact Cloudflare support directly to address this issue as Error 521 is a Cloudflare-related error and they may tell exactly why it appears.