kf106 / async_flask_2

Asynchronous flask application pushing data to a web page
Other
8 stars 2 forks source link

/socket.io/ transport polling gets a 404 (Not Found) error #4

Open Logixor opened 4 years ago

Logixor commented 4 years ago

Getting this error in the console on each polling:

GET http://ec2-XX-XX-XXX-XXX.eu-north-1.compute.amazonaws.com/socket.io/?EIO=3&transport=polling&t=1586010311097-0 404 (Not Found)

More details: https://github.com/shanealynn/async_flask/issues/13

kf106 commented 4 years ago

You're trying to GET a web page from an unspecifiied web server port (which defaults to 80). However, this code runs the flask web server on port 5000.