JKorf / Binance.Net

A C# .netstandard client library for the Binance REST and Websocket Spot and Futures API focusing on clear usage and models
https://jkorf.github.io/Binance.Net/
MIT License
1.05k stars 429 forks source link

SocketClient not working #901

Closed dvpot closed 3 years ago

dvpot commented 3 years ago

SocketClient does not work since version 4.2.3 CryptoExchange.Net and higher. Checked in my app and also in the Binance.Net ClientWPF example, prices are not updated.

Sandr0oo commented 3 years ago

My socket doesn't work either. It works for a while and then reconnects. Checked in my app and also in the Binance.Net ClientWPF example. 2021-10-06_11-19-23 .

JKorf commented 3 years ago

This should be fixed in the latest version. Issue was .NET framework specific, I'm assuming you were using that. @Sandr0oo The socket getting disconnected sometimes can have multiple causes. It should reconnect when it disconnects though

dvpot commented 3 years ago

Updated to 4.2.7 CryptoExchange.Net. It works. Launched for the test.

dvpot commented 3 years ago

Works fine. I close it.