dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.35k stars 9.99k forks source link

Investigate runtimeconfig.json loading issues on App Service #27469

Closed BrennanConroy closed 3 years ago

BrennanConroy commented 3 years ago

We have received some issue where customers have seen app startup failures due to the following error on app services:

Invalid runtimeconfig.json [D:\home\site\wwwroot\runtimeconfig.json] [D:\home\site\wwwroot\runtimeconfig.dev.json]

We should try to repro this on 5.0; we haven't seen any repro's since 2.2 though.

ghost commented 3 years ago

Thanks for contacting us. We're moving this issue to the Next sprint planning milestone for future evaluation / consideration. We will evaluate the request when we are planning the work for the next milestone. To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

demius commented 3 years ago

I can confirm that this issue is occurring in .NET 5.0

BrennanConroy commented 3 years ago

Can you provide a repro?

demius commented 3 years ago

Sorry, @BrennanConroy, I've actually trashed the App Service, so I don't have access to the logs. Suffice to say, I had a straightforward Asp.Net Core 5 application, relying upon the auto-generated runtimeconfig.json (basically just specifying the TFM). Could the issue possibly be related to the fact that it was sharing a Windows App Service Plan with two .NET Core 3.1 applications?

adityamandaleeka commented 3 years ago

This was a bug in App Service that's just been fixed. The fix will roll out in an upcoming release. Closing this issue.