Skip to content

使用wss连接支持TLS1.2的服务器无法建立连接,握手失败 #51

Description

@LuckCome

报错信息:[16:09:50.218][UnityWebSocket][T-595] OnClose, code: 1006, reason: Unable to connect to the remote server
我用openssl s_client -connect 192.168.56.101:23333 -tls1_2 -showcerts 就能成功建立WSS连接
这是因为UnityWebSocket不支持自签名证书还是因为不支持TLS1.2导致的。该怎么解决呢

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions