python-binance icon indicating copy to clipboard operation
python-binance copied to clipboard

websocket disconnects after upgrade from 0.7

Open megalodn opened this issue 4 years ago • 4 comments

Describe the bug I updated python-binance from 0.7 to 1.0.12. The websocket worked flawlessly under 0.7, but I wanted to have some new futures, hence the upgrade. However, after the update, the websocket is disconnecting after a while and does not reconnect.

Moreover, I get not shown any log details. How do I implement to access the log files to see where it is hanging?

    streams = ['!bookTicker', '!markPrice@arr']
    twm = ThreadedWebsocketManager(api_key=api_key, api_secret=api_secret)
    twm.start()
    twm.start_futures_multiplex_socket(callback=process_m_message, streams=streams)
    twm.join()
  • Python version: 3.8.10
  • Virtual Env: conda
  • OS: Windows]
  • python-binance version 1.0.12

megalodn avatar Sep 07 '21 09:09 megalodn

Similar issue after library update, multiplex, ticker and user stream keeps getting disconnected without any error (1.0.12).

dpcwee avatar Sep 08 '21 09:09 dpcwee

to futher confirm: I just reset back to the old version: works flawlessly

megalodn avatar Sep 09 '21 11:09 megalodn

I'm getting this same issue!

jchappe avatar Sep 09 '21 12:09 jchappe

Same here! python-binance version 1.0.15

saeedsamie avatar May 04 '22 16:05 saeedsamie