volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

AI OnAI Off

500 Error with Geta.Optimizely.Sitemaps

Hello,

I am trying to replace an old custom sitemap generator from our solution with Geta Sitemap. I have removed all traces of previous code and installed Geta Sitemaps. I did create the sitemap configuration in admin section. This is a multi site with over 20 applications and I have configured homepage id to root page for sitemap generation. Ran the scheduled job which is successful and says sitemap.xml generated with number of entries. 

However when I browse the sitemap.xml I see 500 error and in the kestrel logs I see this error

[Error] Connection id ""0HNFL5IFOST93"", Request id ""0HNFL5IFOST93:00000001"": An unhandled exception was thrown by the application.
System.InvalidOperationException: Response Content-Length mismatch: too few bytes written (0 of 157646).

Now while it says no content written (with content-length = 0), I can't seem to find what may be missing. Looking for advice on how to troubleshoot this if anyone has seen similar issue.

#340440
Edited, Sep 17, 2025 13:58
Vote:

Update: Found a post processing filter converting the content type to HTML causing the issue. Fixing that seems to have resolved the issue.

#340451
Sep 18, 2025 13:18
error This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.