websocket 的 TLS 问题。币安 echange 的 API.Csharp.Client 库

时间:2021-07-12 11:43:49

标签: ssl websocket binance

API.Csharp.Client 库中的 ListenUserDataEndpoint 方法出现问题。

10.07.2021 0:42:14|致命|WebSocket.connect:0|WebSocketSharp.WebSocketException:TLS 握手期间发生错误。 ---> System.Security.Authentication.AuthenticationException: SSPI 调用错误,内部异常。 ---> System.ComponentModel.Win32Exception: 不支持此功能

整个信息都在这里http://joxi.ru/nAyKoXKta9kxam

我在控制台应用程序中添加了一行

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

但它没有帮助。另一行也无济于事

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;

我能做什么?

0 个答案:

没有答案