markw63

Results 6 comments of markw63

The fix to this I think is for zero byte packets and the same issue is also in SocketIo in https://github.com/ufora/ufora/issues/203 and is to add at line 142 of transports.py,...

Agreed . If you force it to loop on zero length then eventually it gracefully disconnects and reconnects. Trying to see why my node.js server is socketing this back. It...

In agreement with the previous comments. Currently I have code where I end up with a disconnect and reconnect - this only occurs where a client disconnects from a room,...

``` from .exceptions import ConnectionError, TimeoutError, PacketError def recv_packet(self): try: packet_text = self._connection.recv() if type(packet_text)!=str: packet_text=str(packet_text) #python 2.7 fix to str if len(packet_text)==0: print "zero packet" raise PacketError('zero size packet')...

Agree - the underlying websockets library does a self.send.close() on receipt of that 0x8. Then returns a null string "" as data to the calling function. Which automatically will crash...

You are trying to connect to a client at 5002. And you got a disconnect packet. (which is an Error in SocketIO-client sometimes sadly, dependent on the type of disconnect)-...