WebSocket4Net icon indicating copy to clipboard operation
WebSocket4Net copied to clipboard

TLS Example

Open NVentimiglia opened this issue 8 years ago • 14 comments

I am trying to connect to a websocket server using TLS and I am receiving a exception "The authentication or decryption has failed."

The URI I am passing is :

"wss://ortc-developers2-uswest2-s0001.realtime.co:443/broadcast/926/WNWJYJUQ/websocket"

My constructor looks like

_websocket = new WebSocket(uri, SslProtocols.Tls12.ToString(), WebSocketVersion.Rfc6455);

(I am pretty sure this is wrong, but I do not see any docs)

NVentimiglia avatar Oct 01 '15 20:10 NVentimiglia