I am very confused about why I keep getting this error message.
I just made a video that I think might make your head spin.
I am normally in Costa Rica, and have no issues with my website. Upcoming coming to Greece, I keep getting this 521 error. But none of my tech guys in the US can replicate it or find what is happening in the logs.
And when I used a VPN based in the US, the 521 error did not come back.
I made a video for my web person.
Can anyone help? Does anyone have any ideas what could be going on?
As you noted from the error page, a 521 usually indicates a problem with the origin server, rather than with Cloudflare. A 521 error happens when Cloudflare is unable to make a TCP connection to your origin server.
This Community Tip has most of the common causes. As you are seeing this error intermittently and from specific locations only, my best guess would be that your server/host is doing some rate-limiting/blocking of some of Cloudflare’s IP ranges. You should make sure that Cloudflare’s IPs are allowed through any protection you have on your server to avoid this.