app services expections

Nitin Parmar-Tss consultancy 71 Reputation points
2022-12-09T09:57:23.61+00:00

Hi Team,

We are receiving code 500 errors in the app service, which we discovered in the app service diagnostic logs, and we would like to understand why this occurred. Can you tell us where we can find more information in the app's service logs?

268931-image.png

Azure ISV (Independent Software Vendors) and Startups
Azure ISV (Independent Software Vendors) and Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.ISV (Independent Software Vendors) and Startups: A Microsoft program that helps customers adopt Microsoft Cloud solutions and drive user adoption.
91 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,268 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 19,631 Reputation points Microsoft Employee
    2022-12-12T11:26:28.203+00:00

    @Nitin Parmar-Tss consultancy Thank you for reaching out to Microsoft Q&A.

    Typically, These 500 errors can be caused by application errors or by any of other platform issues some of them are mentioned below

    • If your app is consuming high memory or CPU.
    • User Initiated Site Restarts.
    • Site Crash Events due to multiple number of failed requests.

    Looking at the screenshot you have shared look like the issue is from the web application code and The request is spending time in AspNetCoreModule which is the module that executes an ASP.NET Core request A request spending time in this module would indicate a delay incurred due to application code .I would suggest you to enable application logging in your webapp to identify the cause.

    If the issue is happening intermittently then you can capture the profile traces using application insights to identify the performance issue. refer to this documentation for more information about how to enable and view the profiler data.

    Feel free to reach back to me if you have any questions on this.