We’re experiencing an issue where some resource requests containing query string parameters are responding with a 522 error when Cloudflare is routing through an Osaka data centre.
The request we’re having the issue with is:
We have also experienced intermittent issues with the following, however the URL above seems to be consistently returning a Cloudlfare 522 error rather than it being an intermittent problem.
A few notable points about this:
- Removing the ‘?ver=2’ from this second URL allows the request to carry out successfully.
- This is only happening on some networks. The first URL responds successfully on my connection which is routing through Auckland, but not on my client’s connection which is being routed through Osaka. Note both my client and I are based in New Zealand so I’m not sure why the request is being routed through Osaka for her.
Interestingly if we disable Cloudflare OR keep Cloudflare enabled but remove the ‘www’ from the URL then it works successfully through the Osaka data centre.
Our hosting provider has advised they’ve whitelisted Cloudflare’s IPs so this is such a strange problem!
I’ve submitted a support ticket but don’t expect to receive a reply any time soon since we’re on the free plan, so if anyone has any ideas here it would be much appreciated! These requests are critical to the site’s functionality and without the CSS loading in the first request it is entirely broken.
Thanks a lot,