Recently, we’ve been noticing weird behavior on sites that are proxied behind
Cloudflare servers. While visiting a site from one internet connection, we are constantly getting a
522 error. If at that moment, we switch our internet connection on that machine and visit the same page, it works as expected.
We are sure that the servers we have access to did not run out of resources, nor does the firewall block Cloudflare IPs. All firewalls are properly configured to accept connections from the official Cloudflare IPs that were retrieved from here.
We will investigate it further, hopefully we will figure it out.