A 522 error indicates that Cloudflare is timing out while trying to connect to your origin web server. This typically occurs when the server is overloaded or offline, resulting in dropped incoming requests. We recommend reaching out to your hosting provider to check the status of the origin server and verify if it is experiencing any issues.
Additionally, please advise your hosting provider to allow the Cloudflare’s IP address to ensure that traffic from Cloudflare is permitted. You can find the list of IP addresses here: IP Ranges
For detailed information regarding the error, you can refer to the documentation here: Troubleshooting Cloudflare 5XX errors | Cloudflare Support docs