-
Notifications
You must be signed in to change notification settings - Fork 822
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
Flask not working? #570
Comments
Thanks for reporting the issue and trying out WSL! Which Windows build are you running? Can you also post the specific repro? |
@sunilmut , thanks for the reply. |
Hello! Can confirm this on build 14372.rs1_release.160620-2342.
|
I think this might be related to #610 |
PoC# pip install Flask
# cat <<EOF > app.py
from flask import Flask
app = Flask(__name__)
@app.route('/')
def random():
with open("/dev/urandom", 'rb') as f:
return repr(f.read(10000000))
if __name__ == '__main__':
app.run()
EOF
# python app.py On Windows/WSL: # curl -i http://127.0.0.1:5000/ Expected resultCurl finishes without errors What happens when running the Flask server on WSL
I hope this is any use to you. |
@sunilmut , it's ok, you can close it! thank you for your hard work |
Flask for on Python 2 install fine, but I get some below error when run flask application.
curl -i http://127.0.0.1:5000/
HTTP/1.0 200 OK
Content-Type: text/html; charset=utf-8
Content-Length: 12
Server: Werkzeug/0.11.10 Python/2.7.10
Date: Thu, 23 Jun 2016 13:07:40 GMT
curl: (18) transfer closed with 12 bytes remaining to read
get an error ERR_CONNECTION_RESET message on Chrome.
The text was updated successfully, but these errors were encountered: