Binance.API.Csharp.Client icon indicating copy to clipboard operation
Binance.API.Csharp.Client copied to clipboard

TLS problem with websocket

Open broker25 opened this issue 4 years ago • 0 comments

Hi, I got an issue with ListenUserDataEndpoint method. It does not work. And Console shows a message http://joxi.ru/nAyKoXKta9kxam

10.07.2021 0:42:14|Fatal|WebSocket.connect:0|WebSocketSharp.WebSocketException: An error has occurred during a TLS handshake. ---> System.Security.Authentication.AuthenticationException: Error of SSPI call, internal exception. ---> System.ComponentModel.Win32Exception: This function not supported

I added a line in my console application ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
but it does not help. What can I do?

broker25 avatar Jul 09 '21 21:07 broker25