Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Summary
This article provides guidance on addressing ASP.NET Core applications that are hosted in Azure App Service when they stop responding. You might also see this message: "The specified CGI Application encountered an error and the server terminated the process."
Symptom
ASP.NET Core applications that are hosted in App Service sometimes stop responding.
Cause
A known issue with an earlier Kestrel version might cause an ASP.NET Core 1.0 app that's hosted in App Service to intermittently stop responding.
Resolution
This issue is fixed in Kestrel version 1.0.2. This version is included in the ASP.NET Core 1.0.3 update. To resolve this issue, make sure you update your app dependencies to use Kestrel 1.0.2. Alternatively, you can use one of two workarounds that are described in the blog post ASP.NET Core 1.0 slow perf issues in App Service web apps.