possible packet_type bug in packet.py #234
Unanswered
mattbanhamtektowr
asked this question in
Q&A
Replies: 1 comment
-
What version of the Socket.IO protocol does your server use? The |
Beta Was this translation helpful? Give feedback.
0 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.
-
was just trying to get fxcm.py to connect via socket_io via engineio. Whilst debugging, I think I've found a bug in packet.py. The code reads:
.......
else:
self.packet_type = int(encoded_packet[0])
However, the valid socket_io message I got back from the fxcm server was 96:0{........}
In other words the OPEN packet type isn't the first character of encoded_packet but the character after the colon.
Beta Was this translation helpful? Give feedback.
All reactions