question

StevenBowler-2290 avatar image
0 Votes"
StevenBowler-2290 asked luigon published

500 internal server error on web app

Currently getting 500 internal server error on azure. app works locally, and in regular production deployment. ZipDeploy of current functioning deployment does not work. All files are in wwwroot where they should be, front end referencing correct files just as in regular functioning production deployment. May be related to virtual network, don't know. Nothing in kudu/deployment logs, all "succeeded".

azure-webappsazure-firewallazure-private-link
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

thanks Ryan. The app is cidevv-vestaevv.azurewebsites.net Have app and server logging enabled this is where I'm currently looking88423-image.png



I know it says 400 error in the log, in the console I'm getting 500 errors. Will check back tomorrow. Regards.

1 Vote 1 ·
image.png (320.2 KiB)
ryanchill avatar image ryanchill StevenBowler-2290 ·

Hi @StevenBowler-2290,

I was able to navigate to the root of your site. The highlighted section of the console indicates the login workflow isn't configured properly. The request to the authenticated endpoint doesn't have the correct token. You can review https://docs.microsoft.com/en-us/azure/app-service/configure-authentication-provider-aad or choose which ever provider on how to secure your app for authenticated users.

0 Votes 0 ·

Hi @StevenBowler-2290,

What app any application logs. 500s normally mean something occurred that prevented your application from loading. Have gone throughhttps://docs.microsoft.com/en-us/azure/app-service/overview-diagnostics and https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-http-502-http-503?

Regards,
Ryan

0 Votes 0 ·

1 Answer

StevenBowler-2290 avatar image
0 Votes"
StevenBowler-2290 answered luigon published

nvm, just found it. thanks anyways.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Would you mind sharing the solution?

0 Votes 0 ·