Our users may receive http error 522 at page loads.
Since the firewall configuration change the errors have not reoccurred, we consider the issue resolved.
The source of the problem was that some of the Cloudflare’s Proxy IP addresses were blocked by our firewall temporarily. It identified those IPs as a malicious source. We manually whitelisted the IP addresses. It seems to resolved the issue.