bobwng

Results 8 comments of bobwng

Got another listenKeyExpired event just now, it lasts less than 5 hours this time.

Here it is: > 2022-06-01 12:10:50,659 [DEBUG ] 23539 140046298318592 protocol: % sending keepalive ping 2022-06-01 12:10:50,659 [DEBUG ] 23539 140046298318592 protocol: > PING 83 f7 ab a0 [binary, 4...

Checked the logs again, the "Received inner asyncio.TimeoutError" occurred not only right before listenKeyExpired event, it appears in lots of place even in several hours before got that event.

Recently I'm still frequently got listenKeyExpired event, and I changed the code to call create_stream() again after got that event. Meanwhile, it might send two listenKeyExpired events at almost same...

> Hello Oliver, I am trying to replace Binance-Futures with your library and I am get quite a few ListenKeyExpired messages, how should I handle them ? Any suggestions ?...

> If I had previously started a thread to wait for messages. If I use a replace_stream will I need to stop the old thread and start a new one...

> thanks I will try your code, on the other hand I managed to keep away from those listenkeyexpired messages by getting the listenkey every 60 seconds ! That's great!...

Met exactly same issue as @CSU-FulChou mentioned above. Administrator account is OK but other admin group users are not. Tried the solution @metablaster provided above, the issue is still there.