aspnet / AzureIntegration

[Archived] Features that integrate ASP.NET Core with Azure. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
24 stars 20 forks source link

After ASP.NET Core 2.2 site extension has been added to web app on Azure, need to wait a long time after web app restart to be able to view the site successfully #222

Closed balachir closed 6 years ago

balachir commented 6 years ago

Scenario :

  1. Clean machine with 15.9 Preview 2 + .NET Core 2.2 Preview 2 installed.
  2. Create new ASP.NET Core 2.2 (.NET Core) web app > Web Application (MVC) template
  3. F5
  4. Publish to Azure
  5. Add the "ASP.NET Core 2.2 (x86) Runtime" site extension following the instructions from the documentation or using Kudu site extensions (to workaround issue #220)

Repro Steps :

After site extension has been added successfully, restart the site on the portal image

Try to view the published web app from the browser

Issue :

Page still does not load. You continue to get the error below image

Workaround :

Need to wait for about 10 - 15 minutes, then restart the site again. Then the page loads fine. image

muratg commented 6 years ago

@balachir any other info on this? Were you able to repro again? We have never seen this happen in our experiments.

balachir commented 6 years ago

@muratg the CTI team and I did some more investigation on this issue. It seems to reproduce only when you hit the "Restart Site" button in the Kudu "Site Extensions" tab. I've opened issue https://github.com/projectkudu/kudu/issues/2888 on Kudu. Closing this one.