Error Domain=AMapSearchErrorDomain Code=1805

search error :Error Domain=AMapSearchErrorDomain Code=1805 "此服务器的证书无效。您可能正在连接到一个伪装成“restapi.amap.com”的服务器,这会威胁到您的机密信息的安全。" UserInfo={NSLocalizedDescription=此服务器的证书无效。您可能正在连接到一个伪装成“restapi.amap.com”的服务器,这会威胁到您的机密信息的安全。}
2017-08-11 07:19:01.077957+0800 Customer[282:10597] [] nw_coretls_callback_handshake_message_block_invoke_3 tls_handshake_continue: [-9814]
2017-08-11 07:19:01.077956+0800 Customer[282:10578] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9814)
2017-08-11 07:19:01.125872+0800 Customer[282:10568] [] nw_coretls_callback_handshake_message_block_invoke_3 tls_handshake_continue: [-9814]
2017-08-11 07:19:01.126815+0800 Customer[282:10578] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9814)
2017-08-11 07:19:04.798076+0800 Customer[282:10578] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9814)
2017-08-11 07:19:04.798931+0800 Customer[282:10597] [] nw_coretls_callback_handshake_message_block_invoke_3 tls_handshake_continue: [-9814]
2017-08-11 07:19:04.875107+0800 Customer[282:10578] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9814)
2017-08-11 07:19:04.876242+0800 Customer[282:10565] [] nw_coretls_callback_handshake_message_block_invoke_3 tls_handshake_continue: [-9814]
2017-08-11 07:19:07.740335+0800 Customer[282:10565] [] nw_coretls_callback_handshake_message_block_invoke_3 tls_handshake_continue: [-9814]
2017-08-11 07:19:07.740555+0800 Customer[282:10578] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9814)
2017-08-11 07:19:07.785943+0800 Customer[282:10565] [] nw_coretls_callback_handshake_message_block_invoke_3 tls_handshake_continue: [-9814]
2017-08-11 07:19:07.786146+0800 Customer[282:10578] NSURLSession

最后解决了。是手机的系统时间没同步。导致鉴权失败。

全部评论

相关推荐

头顶尖尖的程序员:我也是面了三四次才放平心态的。准备好自我介绍,不一定要背熟,可以记事本写下来读。全程控制语速,所有问题都先思考几秒,不要急着答,不要打断面试官说话。
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务