Nop Commerce 4.1 restarts multiple times on Azure

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
1 yıl önce
I have a Nop Commerce 4.1 application on Azure

The problem is that the application randomly restarts and I have no idea why this is happening.

Does anyone here have similar problems ? What could be causing this ?




Thanks
1 yıl önce
Most times it does not look "random" ; based on the timestamp, it seems to be on the hour (and almost every hour).

See if this helps (...check diagnose and solve problems and web app restart detector)
https://learn.microsoft.com/en-us/answers/questions/693965/azure-app-service-is-restarting-everyday.html
1 yıl önce
New York wrote:
Most times it does not look "random" ; based on the timestamp, it seems to be on the hour (and almost every hour).

See if this helps (...check diagnose and solve problems and web app restart detector)
https://learn.microsoft.com/en-us/answers/questions/693965/azure-app-service-is-restarting-everyday.html


We have already done that in Azure and it didn't detect any restart...

This started to happen when we upgrade NOP from 4.0 to 4.1
1 yıl önce
I found the issue.

We have a console application that runs every hour and this code is doing that


public static void Main(string[] args)
        {
            EngineContextInitializer.Run();

            customerService = container.Resolve<ICustomerService>();
}


Do you know any better way of doing Console Apps where we dont need to do this ?
1 yıl önce
See if this helps
https://www.nopcommerce.com/en/boards/topic/29047/tutorial-how-to-use-nopcommerce-data-core-services-framework-in-your-external-program/page/3
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.