Take the community feedback survey now.

500 Error with Geta.Optimizely.Sitemaps

Vote:
 

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
* 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.