-
-
Notifications
You must be signed in to change notification settings - Fork 16.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No TLS listener with flask run #2612
Comments
Duplicate of #2606. And the SO question is a duplicate of https://stackoverflow.com/q/48467835/400617, which wasn't apparent when I saw it earlier today because they didn't say they were using the |
Surprising that it's come up twice so recently after the issue and PR were made. Also, sorry, thought the question was yours originally, but you were the one hunting down an MCVE from them. Thanks for the help. :-) |
No worries, glad this is no longer an issue with Flask 1.0+. Can one already get that from pip or there's an ETA? |
Is
flask run
supposed to spin up a TLS listener if the app is configured with TLS?Take this
app.py
:python app.py
i get the expectedListening on https://...
and all is well - note the https.flask run
i get an HTTP listener,Listening on http://...
. No TLS.Is this expected behaviour? May i suggest mentioning this somewhere in the quickstart? - http://flask.pocoo.org/docs/0.12/quickstart/
Would be great if someone would lay out the difference between the two invocations.
Ref:
https://stackoverflow.com/questions/48518584/
The text was updated successfully, but these errors were encountered: