Replies: 1 comment 3 replies
-
See the troubleshooting section of the Flask-SocketIO docs to learn how to enable more detailed logging for the server. Then add the logs here. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am having trouble with connecting my JS client to the socketio app.
app.py
test.html
connectToSocket.py - this socket will eventually be used to transmit video data from several raspberry Pis
package versions
connectToSocket.py data is being transmitted to app.py, I have checked this with the print statements that are commented out. The JS code however is not connecting. I have tried a lot of different things such as different port numbers (5000, 3000), broadcasting only locally (i was doing 0.0.0.0 before), and different connection strings for
var socket = io("http://127.0.0.1:3000/camera");
(var socket = io()
andvar socket = io("http://127.0.0.1:3000/");
) did not work.With the debug statements I have the console is outputting
and app.py is constantly outputting
Any help is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions