LUCIT-Systems-and-Development / unicorn-binance-websocket-api

A Python SDK by LUCIT to use the Binance Websocket API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, com-coin_futures, us, tr, dex/chain+testnet) in a simple, fast, flexible, robust and fully-featured way.
https://unicorn-binance-websocket-api.docs.lucit.tech/
Other
684 stars 165 forks source link

Websocket KEY expired #184

Closed amaioli closed 3 years ago

amaioli commented 3 years ago

Hi, sometime happen that the websocket key expire on Binance side. In that case which is the best way to refresh it without create a new stream object?

miraclix commented 3 years ago

Can you post log file please

amaioli commented 3 years ago

I can provide the event issued by Binance. Is it enough?

Il Mer 21 Lug 2021, 12:02 miraclix @.***> ha scritto:

Can you post log file please

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/issues/184#issuecomment-884062166, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVPK2RN7NGFXZPXNZ5VZELTY2LMRANCNFSM5AXTRYBA .

oliver-zehentleitner commented 3 years ago

No, need to know what is happening inside ubwa -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

amaioli commented 3 years ago

No logs and errors from it. It's happens on 12 of July to a lot of different bots. Are there some way to increase the frequency of listen key updating by the library?

Il Mer 21 Lug 2021, 12:32 Oliver Zehentleitner @.***> ha scritto:

No, need to know what is happening inside ubwa

Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/issues/184#issuecomment-884082352, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVPK2QAO7RTN5D7RCXKM5LTY2O2XANCNFSM5AXTRYBA .

oliver-zehentleitner commented 3 years ago

since 2 years i have had zero trounbles with listenkeys... if this is a rare error i would say its the best to catch it and to auto restart with a new listenkey... but i need a logfile to see what has happend, then i can update the lib. if no logs are there, please turn it on for the future and reopen this issue!