azure it give a 500 error

Thomas Blair 5 Reputation points
2024-06-15T13:31:45.41+00:00

My azure web app will not login it gives me a 500 server error.

Azure Web PubSub
Azure Web PubSub
An Azure service that provides real-time messaging for web applications using WebSockets and the publish-subscribe pattern.
79 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,906 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,094 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,003 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. akinbade abiola 21,045 Reputation points
    2024-06-15T14:06:25.9733333+00:00

    Hello Thomas Blair,

    Thanks for your question.

    I will recommend you run the Diagnostic Interface to further troubleshoot.

    If you have Application Insights configured, check the Failed Requests and Exceptions in Application Insights, you could also download the code from the Azure Web App and run it locally in your development environment to reproduce the issue.

    See similar issue: https://stackoverflow.com/questions/36967675/how-to-resolve-error-500-on-azure-web-app

    https://learn.microsoft.com/en-us/azure/app-service/troubleshoot-http-502-http-503?source=recommendations

    Regards,

    You can mark it 'Accept Answer' if this helped

    0 comments No comments

  2. Sander van de Velde | MVP 33,951 Reputation points MVP
    2024-06-15T14:09:10.91+00:00

    Hello @Thomas Blair ,

    welcome to this moderated Azure community forum.

    If you see a 500 server error this normally indicates your server logic code encounters some exception.

    You need to dive into your service and check for any errors and related stack traces.

    If you have not done yet, deploy Azure Application Insights for your web application:

    User's image

    This give you live metrics and insights:

    User's image

    You even get some insights in the code:

    User's image

    This will give you pointer about the behavior of your code.


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.