Azure-Samples / Azure-Samples/msdocs-python-flask-webapp-quickstart

Non-working web app using up-to-date Azure quickstart guide

Open
#34 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
107
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

> Please provide us with the following information:
> ---------------------------------------------------------------

### This issue is for a: (mark with an `x`)
```
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

### Minimal steps to reproduce
> 1. Follow the official steps on [Microsoft's website](https://learn.microsoft.com/en-us/azure/app-service/quickstart-python?tabs=flask%2Cmac-linux%2Cazure-portal%2Clocal-git-deploy%2Cdeploy-instructions-azportal%2Cterminal-bash%2Cdeploy-instructions-zip-azcli) to deploy the example Python3.9-based web app.

### Any log messages given by the failure
> Local build and deployment works, however, the site is not accessible. The reason is a Flask dependency issue as [documented here](https://stackoverflow.com/questions/77213053/why-did-flask-start-failing-with-importerror-cannot-import-name-url-quote-fr).

### Expected/desired behavior
> Web app accessible.

### OS and Version?
> Linux deployment on Azure app services

### Versions
> Python3.9

### Mention any other details that might be useful

There are already multiple PRs attempting to fix this issue:
- https://github.com/Azure-Samples/msdocs-python-flask-webapp-quickstart/pull/33
- https://github.com/Azure-Samples/msdocs-python-flask-webapp-quickstart/pull/32
- https://github.com/Azure-Samples/msdocs-python-flask-webapp-quickstart/pull/24

> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.