Display error 520 randomly

About 4 days ago, my websites started to display error 520 randomly. It disappeared after disable cloudflare on some websites and repeated after enable cloudflare again

1 Like

A lot of people are facing this issue right now

1 Like

yeap, i have multiple site and servers seeing this.

Where are you from? I’m from Brazil, and I also started having 4 days ago problems with 520 errors appearing randomly (I never had before).

The error appears very sporadically, without a specific pattern, sometimes I can browse several pages without seeing the error, until at some point it appears. Then all that is needed is for the page to be refreshed, and everything goes back to normal for a while. Is it like that for you too?

1 Like

Same issue happening in one of my websites:

Error 520 appears randomly/intermittently, and I think this has bothered some visitors.

Hi @alathwari2000, @Kalinga and @KygekDev,

Due to the number of 520s being reported in similar circumstances, we are escalating the issue to Cloudflare Support. The original incident should have been resolved and your issue may well be unrelated.

We recommend checking these troubleshooting tips, if you haven’t already.


If you have been through these thoroughly and are not seeing corresponding issues on your network/server and you have a ticket number with Cloudflare, please reply and post that #.

To enable efficient troubleshooting by support, please ensure you include the following on the ticket:

  • example URL(s) where you are seeing the error
  • Ray IDs from the 520 pages
  • output from a traceroute from any impacted user
  • output of example.com/cdn-cgi/trace - replace example.com with the affected domain.
  • Also include two HAR file(s) : one detailing your request with Cloudflare enabled on your website and the other with Cloudflare temporarily disabled - see How do I temporarily deactivate Cloudflare ?

So as part of https://community.cloudflare.com/t/random-520-errors/ we fixed an issue with origins silently ending a keepalive connection that was causing very rare 520 errors.

Thus we recommend testing again - if you still see 520s - make sure you follow the guidance in our community tip here:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.