Sitemap.xml Throwing 502 Error

For my forum we have used Discourse Sitemap Plugin to generate a sitemap. Initially it was working but, now I always get 502 error while trying to open the sitemap.
Any probable solution?
I couldnt find any useful log on the error anywhere -, nginx logs and discourse logs inside docker. I have reduced the number of URLs per sitemap from 10000 to 2000 as well. But, still not resolved

1 Like


As a data point for you, we upgraded to the latest Discourse version (today) and checked our sitemap generated by the Discourse sitemap plugin and it works as normal.

Did you manually check your Rails logs and the directory where the sitemap is located?

1 Like

Hi @DBHacker,

I have upgraded to latest discourse version, but still the issue persists. :frowning: