I have been using Cloudflare for several years, and never had any problems. And a few weeks ago, random Cloudflare 520 errors started happening.
Server logs show no errors. I’ve checked everything from the system level to the domain level.
Always Online is turned off, and I’m running Full SSL on the Cloudflare side.
I disabled Cloudflare, turning off the orange cloud in the DNS and disabling Cloudflare protection from within the dashboard, and the Cloudflare 520 errors are still happening.
When I refresh the Cloudflare 520 error, the page loads fine. But the error repeats itself on random pages and random times.
I’ve looked through the Cloudflare troubleshooting guide for 520 errors, but that does not help. How can I see the exact error that Cloudflare is seeing from the web server to generate the 520 error?
You are right. After around five minutes, Cloudflare is no longer enabled on the site. The SSL Certificate shows from the server side, not the Cloudflare side.
And no errors. Not one.
How can I determine what is flagging an error to Cloudflare to produce the 520 error?
Yeah, I’ve read through that and it doesn’t offer much guidance. I can understand for a new setup, but I’ve been running for years and never had any problems, not to mention you cannot repeat a pattern because the errors are completely random. Frustrating, to say the least.