If you are seeing 522 errors in certain locations only, it means you likely forgot to whitelist one of our ranges that corresponds to these locations, so double check to ensure all our IPs are whitelisted appropriately. Other suggestions in this #CommunityTip - Fixing Error 522: Connection timed out, https://community.cloudflare.com/search?q=522%20%23CommunityTip%20.