jetfire
jetfire copied to clipboard
NSOSStatusErrorDomain Code=-9810
2018-06-26 15:30:33.928670+0800 CallPolice[30061:3015055] urlRequest = "<CFHTTPMessageRef 0x1c036d800(0x1c036d810)> { GET request, url wss:www.video110.cn:8000/skynet/ws/websocket }"
2018-06-26 15:30:33.929882+0800 CallPolice[30061:3015055] CFNetwork SSLHandshake failed (-9810)
2018-06-26 15:30:33.930174+0800 CallPolice[30061:3015055] TCP Conn 0x0 SSLHandshake failed (-9810)
2018-06-26 15:30:33.930635+0800 CallPolice[30061:3015055] SocketStream write error [0x0]: 3 -9810
2018-06-26 15:30:33.931449+0800 CallPolice[30061:3014863] socket did disconnect, error: Error Domain=NSOSStatusErrorDomain Code=-9810 "(null)" UserInfo={_kCFStreamErrorCodeKey=-9810, _kCFStreamErrorDomainKey=3}
You're not properly setting the flag for self signed certificates, either that or there is an SSL handshake error from your server.
I hit against your server real quick and it looks like it's serving malformed SSL handshakes