i am sending request "ConnectToDepthWebSocketCombinedPartial" and get an exception
|Fatal|WebSocket.Connect|WebSocketSharp.WebSocketException: Not a WebSocket handshake response.
at WebSocketSharp.WebSocket.doHandshake()
at WebSocketSharp.WebSocket.connect()
Issue Overview
i am sending request "ConnectToDepthWebSocketCombinedPartial" and get an exception
|Fatal|WebSocket.Connect|WebSocketSharp.WebSocketException: Not a WebSocket handshake response. at WebSocketSharp.WebSocket.doHandshake() at WebSocketSharp.WebSocket.connect()
Package Version: ?.?.?
BinanceDotNet by jon evans v4.12.0
Repro Steps
BinancePartialDepthData r = null;
Thread WebSocketSyncing = new Thread(() => { var manualWebSocketClient = new InstanceBinanceWebSocketClient(client); try { var socketId = manualWebSocketClient.ConnectToDepthWebSocketCombinedPartial("BTCUSDT", "1000ms", data => { try { r = data; } catch (Exception) { Environment.Exit(0); } }); } catch (Exception ex) { Console.WriteLine("ERROR ON SOCKET: " + ex.Message); Environment.Exit(0); } });
Other Information
Other information here