My guess would be it could be a load issue on your server when there are too many concurrent requests. Try monitoring your load and check the log files for any errors.
Fair enough, it was my assumption because it took 2+ seconds for some locations to get the first byte and there was recently a similar case where a single request got a response within a reasonable time, but concurrent ones were 3+ seconds.
No erros found in WP, UFW is ok…
Server is up and running, WP is working, It must be something between CF and DO. I suspect is some routing in this 104 network.
Well, it wasn’t working because CF wasn’t reaching my server. Now it is. All I did was clone the VM and get a new IP. This is clearly a routing issue. I’m no network expert but it was clearly something between them.
I manage other sites under proxies. When they’re 5000 miles apart, anything can happen. A hurricane in mexican gulf disrupt packets. But in this case it seemed like a firewall ban or route misconfiguration.
Thank you very much, sandro. Best regards.
TL;DR If you’re using Cloudflare and DigitalOcean and suddenly all you can see are 502s. Clone your VM and get a new IP.