November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
For the first issue, it looks like your Azure web.config is missing handler for aspx? Something like
<add name="AspxHandler" preCondition="integratedMode" verb="GET" path="*.aspx" type... />
Hi Paul
Regarding issue 2. Are you by any chance using the ImageProcessor library in your solution?
I ask because that library tend to raise that exception if the site definition are configured wrong.
Hi Stefan, thanks for your reply. No, we don't use the ImageProcessor. What's weird is that we had a release 3 weeks ago, the issue stopped, then we had a release last week, the problem started happening again. It is like something gets initialized in the wrong order or something, but we still have no clue on what is going on. There was nothing major on both releases, nothing related to media handling or redirects (which are the likely cause of the problem).
Hi Quan, that was really helpful. I added the below handler to the staging environment and it is not reporting such exceptions now. Will try in production later.
<add name="AspxHandler" preCondition="integratedMode" verb="GET" path="*.aspx" type="EPiServer.Web.StaticFileHandler, EPiServer.Framework.AspNet" />
Thanks, will wait a little bit before accepting the answer just to see if someone has something about my second problem.
In terms of "HTTP headers have been sent" error: This is usually caused when the application is performing a redirect while having the headers already sent.
Do you have any code that sets headers? E-tag or modified for images?
Hi all, seems like upgrading Epi can help with the "Headers have been sent" issue. More details here
https://world.episerver.com/documentation/Release-Notes/ReleaseNote/?releaseNoteId=CMS-16110
Cheers!
Hi everyone, we have an Epi site with CMS 11.15.0 and Commerce 13.18.2, hosted in an Azure appservice. It is registering a lot of exceptions in Azure Insights, and we just don't know where are those coming from. The ones with most occurrences and with no easy explanation are:
1. CheckVirtualFileExists
This one happens on every .aspx request that does not exist. We use the 404 Geta handler, and it redirects to our "not found page" correctly, but it logs a lot of these exceptions in azure.
From the IIS logs on azure:
2020-07-20 22:23:38 AZAPP-NXS-EPI-CMS-PREP-01__E284 GET /search.aspx 404;https://azapp-nxs-epi-cms-prep-01__e284:80/search.aspx?page=11&category=953&X-ARR-LOG-ID=77c41081-2434-4707-a9e4-966b3c94b9c3 443
Testing the same url, but in my local environment (note no 404):
2020-07-20 23:13:43 127.0.0.1 GET /search.aspx page=11&category=953 80 - 127.0.0.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/83.0.4103.116+Safari/537.36 - 200 0 0 1141
2. Server cannot append header after HTTP headers have been sent.
This one is the most random exception. Happens a lot when trying to access to images. I had a chat with Epi Support, they asked me to review my redirects, which I did and error is still happening. This can't be reproduced in my local environment either.
These two exceptions happen a lot during the day, this is just a report from the past 6 hours:
Hope any of you have seen this before and have some insight on to what might be happening. We use azure deployment slots to decrease downtime, not sure if that can be an issue.
Thanks!