Open
Description
Error log:
WS closed with code: TlsHandshakeFailure
UnityEngine.Debug:Log(Object)
<>c:<Start>b__1_2(WebSocketCloseCode) (at Assets/Scripts/WebSocketDemo.cs:40)
HybridWebSocket.WebSocket:<.ctor>b__13_3(Object, CloseEventArgs) (at Assets/Plugins/WebSocket.cs:495)
WebSocketSharp.Ext:Emit(EventHandler`1, Object, CloseEventArgs) (at E:/Repos/WebsocketsSharp/websocket-sharp/Ext.cs:1269)
In sta/websocket-sharp, this is fixed by adding this line:
ws.SslConfiguration.EnabledSslProtocols = System.Security.Authentication.SslProtocols.Tls12;
Is it possible to fix this in this library? I could add this line myself in the constructor, I'm just not sure what's the correct way to treat it.
Metadata
Metadata
Assignees
Labels
No labels