Reconnecting to websocket

Mohit
Mohit edited October 2016 in Python client
Hi,

Websocket is getting disconnected several times (may be because of network failures). However, it's not able to connect automatically.
kws.isconnected() returns false and kws.reconnect() returns true. But the socket does doesn't get reconnected again .


kws.is_connected()
Out[77]: False

kws.reconnect()
Out[78]: True

Any idea for this ?

Regards,
Mohit

Tagged:
Sign In or Register to comment.