:( Application Error

sweta raj sinha 20 Reputation points
2023-05-25T14:51:35.9066667+00:00

Hello Team,

Pls. suggest why getting error post model deployment :

CLI Command used :

az webapp up --sku B1 --name swetaplacementprediction2

Result :

The webapp 'swetaplacementprediction2' doesn't exist
Creating AppServicePlan 'sweta.sinha1410_asp_5391' ...
Creating webapp 'swetaplacementprediction2' ...
Configuring default logging for the app, if not already enabled
Creating zip with contents of dir C:\Users\swsinha\OneDrive - Nokia\CLASS\Flask deployment projects\student campus placement ...
Getting scm site credentials for zip deployment
Starting zip deployment. This operation can take a while to complete ...
Deployment endpoint responded with status code 202
You can launch the app at http://swetaplacementprediction2.azurewebsites.net
Setting 'az webapp up' default arguments for current directory. Manage defaults with 'az configure --scope local'
--resource-group/-g default: sweta.sinha_rg_4385
--sku default: B1
--plan/-p default: sweta.sinha1410_asp_5391
--location/-l default: eastus
--name/-n default: swetaplacementprediction2
{
  "URL": "http://swetaplacementprediction2.azurewebsites.net",
  "appserviceplan": "sweta.sinha1410_asp_5391",
  "location": "eastus",
  "name": "swetaplacementprediction2",
  "os": "Linux",
  "resourcegroup": "sweta.sinha1410_rg_4385",
  "runtime_version": "python|3.10",
  "runtime_version_detected": "-",
  "sku": "BASIC",
  "src_path": "C:\\Users\\swsinha\\OneDrive \\CLASS\\Flask deployment projects\\student campus placement"
}

But url showing below error

:( Application Error

If you are the application administrator, you can access the diagnostic resources.

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

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 25,241 Reputation points Microsoft Employee Moderator
    2023-05-30T04:27:31.8166667+00:00

    @sweta raj sinha Thank you for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.

    I would suggest you try enabling the diagnostic logging and review the application logs or you can run the WebApp down detector in Diagnose and solve problems of you webapp to identify or to understand more which is causing this issue.

    Based on the webapp name shared above, we have looked at the backend logs and we see that there is a delete operation got triggered on the webapp (at 25th May 14:54UTC) and it got successful as well.

    For more information, you can also refer to this quick start tutorial on deploying python app to azure app service.

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


Your answer

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