I host my ASP.NET .NET Core 2.1 project in Azure Web App service. I recently upgraded to 2.1 (From 2.0) and I started getting these errors:
The specified CGI application encountered an error and the server terminated the process.
The application typically runs just fine for an hour or so and then suddenly it crashes and all responses return this error. I have to restart it to make the error go away. It was working fine with .NET Core 2.0.
I saw similar issues posted on SO that turned out to be related to earlier Kestrel versions. It shouldn't be the case for me. My project references Microsoft.AspNetCore.App 2.1.1 which has the latest Kestrel version.
This is my production environment, please help.