Connecting Websockets client to Flask-sockeio server #1655
Unanswered
Ram-Krushana
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Use a Socket.IO client. A WebSocket client cannot connect to a Socket.IO server. They're different protocols. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have created a demo application where I am trying to connect to the client of the WebSockets package.
Client demo code.
Server demo code.
There are no logs or error on the server-side. But I am getting connection close errors on client side.
I am using gevent in my flask-sockeio server.
Is my implementation is wrong or did I miss something to set up on server-side?
Beta Was this translation helpful? Give feedback.
All reactions