Hi,
suddenly getting websocket disconnects with error code 1006. The code was working fine for months, and I am continuing to use same library (websockets) to get data from 3 other exchanges.
This is the error :
socket recv exception : code = 1006 (connection closed abnormally [internal]), no reason
If i turn on debug logging the websockets library logs the below lines write before the above error which tells me binance is closing the socket not me any ideas ?
2022-01-17 17:02:03,911,MainThread,DEBUG,client - event = eof_received(),protocol.py,1428
2022-01-17 17:02:03,911,MainThread,DEBUG,client - event = connection_lost(None),protocol.py,1354
2022-01-17 17:02:03,911,MainThread,DEBUG,client - state = CLOSED,protocol.py,1356
2022-01-17 17:02:03,911,MainThread,DEBUG,client x code = 1006, reason = [no reason],protocol.py,1361
2022-01-17 17:02:03,912,MainThread,DEBUG,client - aborted pending ping: 2c9de6d2,protocol.py,1320