VPSocketIO
VPSocketIO copied to clipboard
CFNetwork SSLHandshake failed
CFNetwork SSLHandshake failed (-9806) TCP Conn 0x600000165040 SSLHandshake failed (-9806) SocketStream write error [0x600000165040]: 3 -9806 ClientSocket MESSAGE: Flushing probe wait
@MaxIsComing do you use http (ws) or https(wss) ?
if you use http(ws) you should add your host to exceptions in plist file. for example:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>yourserver.com</key>
<dict>
<!--Include to allow subdomains-->
<key>NSIncludesSubdomains</key>
<true/>
<!--Include to allow insecure HTTP requests-->
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<!--Include to specify minimum TLS version-->
<key>NSExceptionMinimumTLSVersion</key>
<string>TLSv1.1</string>
</dict>
</dict>
</dict>