Closed mehrdadab closed 5 years ago
Hey there @mehrdadab - Unfortunately you're using a pretty old version of Umbraco and your problem seems related to the specific server environment. If you have any way of reproducing this on the latest version of Umbraco we could have a look at it but hopefully this problem has been fixed along the way already.
I would recommend you try and get some help on the forum to see if anyone else experienced this and has a possible solution: https://our.umbraco.com/
FYI, I upgraded the website to Umbraco 7.13.1 and I have still the same issue. I cannot reproduce it though, as it happens randomly on Microsoft Azure. I am still working on it and let you know if I found any clue.
I also found out unlike umbraco 7.5.7 on umbraco 7.13.1 I have access to Examine Management and if I rebuild index, the problem disappears.
@nul800sebastiaan , is it possible to reopen the issue? As @mehrdadab says he still has the issue and I'm experiencing the same issue with the latest version of Umbraco. To give you a bit more details: It happens from time to time, randomly. It happens on azure, but also locally on windows machine with iis.
Last week we had the same issue as well. We're on UK Azure webapp running umbraco 7.13.2.
We found the following solution on stackoverflow, Hope this might do the trick.
https://stackoverflow.com/questions/43629446/umbraco-an-unexpected-network-error-on-azure-web-apps
@1sha1 Thanks for pointing it out! I applied the change. Lets hope indeed :)
You must configure Umbraco correctly to work on Azure, the docs for this are here https://our.umbraco.com/Documentation/Getting-Started/Setup/Server-Setup/azure-web-apps
Thanks @Shazwazza, much appreciated!
We have multiple Umbraco websites hosted on Azure Web Apps. Occasionally we encounter an issue so that everywhere on the website, Umbraco.Media() function throws exception. If we restart the website, the issue disappears.
Reproduction
We cannot reproduce it as it is happening occasionally and only happens on Azure.
Bug summary
This issue happens randomly, When we have 6 websites hosted on the Azure, each time only some of them have that issue. By restarting a website we resolve the issue. Our media hosted on the Azure blob. (I am not sure if it is relevant because I believe Umbraco.Media() reads the URL from a database) and during that issue we have access to blob. For the database, we also use Azure SQL Server database. We don't use load-balancer or auto-scaling.
Specifics
Our Umbraco version is: 7.5.7 and assembly: 1.0.6219.11990 I checked it on Chrome and IE but I believe it is happening on any browser as it is a server error. When on log file I couldn't get too much information, I used a profiler to get more information and this is what I received:
Also I noticed when this issue is happening if I login to the backoffice and go to the developer tab, I see the error message below on the right hand pannel and don't have access to Examine management:
Steps to reproduce
We couldn't reproduce it on our local environment at all. Also we have same kind of website on an Azure Server in Australia and we never had the issue. It seems, it only happens on our Uk server. In addition, you can see on both error messages Lucene.net has been mentioned, that's why I think it is related to indexing.
Expected result
We call Umbraco.Media to get our Media Url .
Actual result
Umbraco.Media throws an exception, so we don't have URL of media and for example our images are blank.