Error 522 on files all of a sudden

Make sure Cloudflare IPs are allowlisted at the website host’s firewalls. Check out the following, too:

https://support.cloudflare.com/hc/en-us/articles/200171936-Error-520-Web-server-is-returning-an-unknown-error