I notice that I regularly get an error 520 when I call a page on my site. it only lasts a short time, and it’s 1 in 50 pages where it happens. My site is www.treinenweb.nl and I’m curious if there are any disruptions at Cloudflare or the routes?
I can’t find anything in the error log on my web server that causes this. Web servers just keep running, no errors in the error_log.
Hm, have you tried clearing your Web browser cache or trying to access your website from another Web browser, or a private window, or even if possible via an VPN connection?
May I ask is the website working over an secured HTTPS connection having the propper and valid SSL certificate (which covers both www and non-www)?
Maybe some packets are being dropped or rejected, somehow?
May I also ask who is your hosting provider?
Maybe some recenty topic could be of help or related to this issue, if it’s the same provider, or maybe maintenance at the datacenter or a switch, etc…
Just to make sure, ss it’s already suggested from above post, may I recommend “just in case” to allow, if already not, Cloudflare to connect to your origin host/server using the instructions as written on the below article?:
Cloudflare IP ranges can be found here:
What result do you get by openning the URL https://www.treinenweb.nl/cdn-cgi/trace/?
Is that specified domain being served and working over an IPv4 or an IPv6 address from your origin host/server?
Yes, it happens in 1 of the 30 á 50 requests. I have this problem on more devices, and at random pages.
So it’s not my cookies. Maybe strange things in my site, but I’ve only recently started to suffer from it, without having changed anything special. I have even restarted by Apache and PHP processes, but it is no solution.
I’ve also already tested it on the same codebase on my test environment that isn’t connected to CloudFlare, and when I surf there for a few minutes, nothing goes wrong.
Also, no load balancers are running, and the (web)server doesn’t give any strange problems in the log either.
Wich details from the trace-URL should i give here? All details?
I can confirm this. I have the same problem on two Directadmin / Centos 7 servers. Problem started between July 16 and 26. I was on vacation for a week and did not work on the servers or perform updates through Wordpress. A Western European Cloudflare server has a problem somewhere.