Application Error occurs when I access to web app

순성 박 0 Reputation points
2023-02-25T18:43:13.5633333+00:00

When I access to web app, Application Error occurs.

스크린샷 2023-02-26 오전 3.29.03

I deployed django code from linux local VM to azure App Service by git push.

This is my application setting in Configuration(Azure portal). I used environ module.

스크린샷 2023-02-26 오전 3.36.32

And this is general setting.

스크린샷 2023-02-26 오전 3.39.10

All deployment was successful. but I have no idea why I can't access web app.

스크린샷 2023-02-26 오전 3.40.26

Please help me..

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,933 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 28,036 Reputation points Microsoft Employee Moderator
    2023-02-28T17:35:18.0733333+00:00

    @순성 박 , Thanks for posting this question.

    Apologies you’re experiencing this issue and for delayed response from over the weekend.

     

    To narrow down the issue (if you haven't tried this already):

    1.You may try to scale up to a higher ASP tier and then check (as a quick step)

    2.     If the Always On setting is off, please enable it from Azure Portal – Your WebApp > Configuration blade (> General settings).

     To fetch more details about the issue, you may try these:

    3.     You may leverage App Service diagnostics from Azure Portal> Navigate to your App Service app in the Azure Portal. (screenshot below).

    In the left navigation, click on Diagnose and solve problems - Review -
    “Configuration and Management and “Availability and Performance”  options.

    4.     Navigate through Kudu site on: https://<sitename>.scm.azurewebsites.net/api/logs/ , to fetch info.

    User's image

    5.Ensure that you have added SCM_DO_BUILD_DURING_DEPLOYMENT to your application settings and set to true. This setting ensures that the virtual environment in the App Service is correctly installing your dependencies. See for more info article.

    Kindly let us know how it goes, I'll follow-up with you further.

    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.