Azure flask webapp Application Error

Brahim Talb 0 Reputation points
2023-03-03T09:55:20.5266667+00:00

Hi while trying to deploy my flask webapp on azure I keep running into "Application Error" whenever I try to reach the webpage generated.

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

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 16,686 Reputation points Microsoft Employee
    2023-03-06T00:13:53.0366667+00:00

    In general, the first step in troubleshooting is to use App Service Diagnostics:

    1. In the Azure portal for your web app, select Diagnose and solve problems from the left menu.
    2. Select Availability and Performance.
    3. Examine the information in the Application Logs, Container Crash, and Container Issues options, where the most common issues will appear.

    Next, examine both the deployment logs and the app logs for any error messages. These logs often identify specific issues that can prevent app deployment or app startup. For example, the build can fail if your requirements.txt file has the wrong filename or isn't present in your project root folder.

    Source

    These two tools of using the diagnostics and then reviewing your logs for more specific errors should help you resolve the issue. If you still have issues, can you please share with us what you locate in the logs in terms of error(s)? This will help us narrow down the issue 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.