Error 520 usually occurs when the origin server is returning an unexpected response to Cloudflare. To resolve this issue, please follow the steps below:
Check your origin server logs for any errors or issues. This will help you identify if there’s a problem with your server configuration.
Temporarily pause Cloudflare for your domain by going to the Overview tab in your Cloudflare dashboard and clicking on “Pause Cloudflare on Site.” This will help you determine if the issue is related to Cloudflare or your origin server.
If the issue persists after pausing Cloudflare, it’s likely an issue with your origin server. In this case, you should reach out to your hosting provider for assistance.
If the issue is resolved after pausing Cloudflare, check your SSL settings in the Cloudflare dashboard. Make sure the SSL mode is set to “Full (Strict)” if you have a valid SSL certificate installed on your origin server.
Review your firewall settings in the Cloudflare dashboard to ensure that your origin server’s IP address isn’t blocked.
If you still face issues after trying these steps, please contact Cloudflare support by submitting a ticket through this link: https://dash.cloudflare.com/?to=/:account/support. Don’t forget to include the relevant details and any troubleshooting steps you’ve already taken.