facebookincubator / SocketRocket

A conforming Objective-C WebSocket client library.
Other
9.53k stars 2.01k forks source link

The newest version: 0.6.0, [wss + ip] format to connect, it gets an error: Error Domain=NSOSStatusErrorDomain Code=-9807 #649

Open EddieMa opened 1 year ago

EddieMa commented 1 year ago

I use the newset version: 0.6.0, and use wss+ip format to connect the websocket, but it give me an error: Error Domain=NSOSStatusErrorDomain Code=-9807 This error seems like the SSL handshake failed.

But if I changed the version from 0.6.0 to 0.5.1, wss+ip format works fine!

For example: wss://123.123.123.123/test In 0.5.1, this url can connect to the server successfully, but in 0.6.0, this url will get an error as I mentioned above.

Please help me to find a solution, how can I fixed it if I want to use the newset version: 0.6.0

Many thanks