-
Notifications
You must be signed in to change notification settings - Fork 59
HTTP Error 502.5 on Azure Web App, even with PublishWithAspNetCoreTargetManifest set to false #479
Comments
Getting exact same issue here. Just updated from 2.0.0 to 2.0.3 and after publishing getting a 502.5. |
Same issue here, much the same troubleshooting as well. I'm going to revert back to "last known good" and see if I can get it going again, but all day today so far been dead in the water. EDIT: For me, solved the problem by re-examining my X509Certificate creation. I had not properly wired the Azure SSL Certificate store up and, I guess during DI, creation of the certs was going wrong and the end result was a 502.5. Anyway, my issue was (not surprisingly to me) all on me and my inexperience. |
Did you also update the NuGet Package "Microsoft.AspNetCore.All"? |
This was a temporal issue when Azure App Service had not updated to 2.0.3. This should no longer be an issue |
This happened again with 2.0.8. @shirhatti, is there a schedule of Azure App Service upgrades that we can follow to know when it's OK to upgrade Microsoft.AspNetCore.All? |
Same here! |
Unfortunately, there's not much I can offer in terms of guidance here to mitigate these temporal issues. |
I am running my ASP.NET Core app in Azure Web Apps and recently upgraded to version 2.0.3 due to some bugs in v2.0.0. However, now when I deploy to Azure, I get an error (HTTP 502.5), which other users have also encountered (e.g., #476).
I have tried setting the
PublishWithAspNetCoreTargetManifest
property tofalse
, cleaned up thewwwroot
folder in my Azure Web App and then redeployed. Though, I am still getting the error. I tried creating an entirely new Web App too but I still get the same issue.Here is a copy of my
csproj
file: https://pastebin.com/1CfNKcRbAfter upgrading to 2.0.3 I also had to add these lines:
I do not know if adding these lines is affecting whatever
PublishWithAspNetCoreTargetManifest=false
is doing.I really hope that somebody has a fix for this, as it is extremely critical to our app and we currently feel pretty stuck. Downgrading to 2.0.0 is not an option for us, as we rely on some of the bug fixes in 2.0.3 (related to security and two-factor auth).
The text was updated successfully, but these errors were encountered: