Replies: 1 comment 1 reply
-
The argument that goes in the I recommend you try some of the example servers and clients in this repository to learn how this package works instead of paying attention to the wire. The intention is to hide the details of the protocol as much as possible. Also, you refer to some error, but you haven't indicated what the error is. Please provide a stack trace. The log that you shared indicates that the client is closing the connection immediately after opening it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to connect to a WebSocket server, and instead of the client sending a
40{"sid":"Umj7HNgYWvJ3AU8RAHrR"}
, it is sending a 0{}. Not entirely why this is but I do not think this is intended behavior. I know I have the proper headers and cookies because I was able to connect using Postman with the same headers and cookies. Line of code causing the error:sio.connect(url="wss://REDACTED/socket.io/?b64=1", transports=['websocket'], headers=headers)
Beta Was this translation helpful? Give feedback.
All reactions