I’m getting these emails from Cloudflare with possible origin server unavailability for two of my sites (hosted on the same server) for two weeks now. But on checking my server logs, both the sites are healthy. There were no outages either. I have verified that my SSL certificates are good too.
Thanks @cloonan. But I do want to be notified in the event of server issues. And in my case, I would like to know if there is really an issue with my origin server or is it a false positive that I can ignore.
Ah, no. I don’t use a load balancer. It’s just one server, with two low traffic sites and two more extremely low traffic sites via virtual hosts.
I have enabled Cloudflare for all four sites, but I am receiving the alert only for the low traffic sites (never at the same time from both the sites though). And I have never received the alerts for the other two extremely low traffic sites.
I may have not read closely enough. The article starts off talking about Load Balancer alerts, then goes on to say there are new alerts, beginning this month. I suspect it’s system-wide for any type of server, load balanced or not, that Cloudflare can’t reach.
Unreachable from where? If this is like other 521 errors, it could be just rate limiting kicking in, or anything else in that 521 article. Does Cloudflare double/triple check from other sources that the server is actually down?
If the servers are unavailable for more than 5 minutes, there must be a log of some events or at least a report from services like UptimeRobot right? Apache logs don’t show any events. UptimeRobot shows 100% uptime. No SSL errors either. Cloudflare IPs are not rate limited either.
Hi @kenlocked, picking up on your false positive comment, can you verify if the IP address in the email is actually your origin IP? And yes, your origin logs should show. I’ll collect more details on the checks and add them here.
I believe the reason why Cloudflare gets 5xx is that fail2ban has banned CF’s IPs. If anyone lands here via search, I hope this would be helpful. This couldn’t be the only issue, but for me, I guess this is the issue. Follow the steps here to restore visitor’s original IP, so fail2ban will stop banning Cloudflare’s IP addresses.