Today, there were to cases when all my websites proxied through Cloudflare were returning the 522 error. The interesting thing is that I could still access the server via ssh and from within the server all the system were fully functional. I see there is an error in the NY datacenter on the status page, but it seems to me that it cannot be related to this one as the server is in Germany and the traffic was routed via Kiev.
Once it was caught by a customer and once by me and it just went back to normal in a few minutes.
Can anyone suggest what can I do in such situations and what could be the reason for this outage as it’s really frustrating to have this downtime in production?
Thanks in advance.