Binance.Net
Binance.Net copied to clipboard
BinanceSpotSymbolOrderBook NOT WORK with 7.2 version
Describe the bug Test example code https://github.com/JKorf/CryptoExchange.Net/wiki/Orderbooks in my project it raise "can't connect to server" exception.
To Reproduce I have download Binance.Net project 6.13 and 7.2 version and test in BinanceNetTest class. The 6.13 version work but 7.2 not work and raise the same exception of my project. What wrong? Is a regretion?
7.2 version
6.13 version
It works fine for me. The difference between v6 and v7 is that the socket implementation has been replaced, so there could be something with that. If you change the book constructor to this, what is the output in V7?
var book = new BinanceSpotSymbolOrderBook("BTCUSDT", new BinanceOrderBookOptions
{
SocketClient = new BinanceSocketClient(new BinanceSocketClientOptions
{
LogLevel = LogLevel.Trace
}),
LogLevel = LogLevel.Trace
});
Hi, thank you for replay, this the result. The client work without credential?
Where do you get the exception? It seems like status code 407 is returned, which would mean proxy credentials are required. Are you using a proxy?
no, not use proxy, with vertion 6.13 it work fine whitout API credential. Test download stand alone release anche run in different enviroment to prevent specific customization. I have test this package https://github.com/JKorf/Binance.Net/archive/refs/heads/master.zip
Again, it works fine for me. I tried with the zip you referenced, on two different computers. Only thing I couldn't change atm is the network. Did you test on another network?
Ok, i have test with 2 different network, another local network, and my phone hotspot but the result are the same, with 6.x work, with 7.x not work. How can i help you to find problem?
Phone hotspot test
Another local network
I would like downgrade to 6.x in my project but there in a package reference discrepancy because the reference of 6.x package is declarated CryptoExchnage.net MIN 3.9 but really is MAX this vertion. When I run it said not implemented method
Can i force change dependency?
I have update to release 8.0.3 and change error in