websocket connection to failed: WebSocket is closed before the connection is established. code example
Example: Http Client An existing connection was forcibly closed by the remote host
System.Net.ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;