I think Cloudflare is blocking my sitemap.xml file

Looking at output from testing with curl it becomes apparent that this is not the WAF, but a 502 error on your origin.

I don’t why your server is having trouble with that file when it is requested via the Cloudflare proxy. While it loaded for me during a couple of attempts via web browser, the page acted like it was still loading even after the sitemap had loaded. My final attempt ended in the fancy Error 502 page served by Cloudflare when it is sent a 502 response from the origin.

If you have access to your server logs, you might want to examine them as well to see if it is logging any errors when the sitemap.xml file is requested via Cloudflare proxy.

1 Like