离在线语音i识别iOS SDK 报错4001
ENSMY 发布于2018-01 浏览:7662 回复:2
0
收藏

2018-01-02 16:41:38.165097+0800 GSProject[2483:896706] load offline engine failed: 4001

2018-01-02 16:41:40.608795+0800 GSProject[2483:896706] load offline engine failed: 4001

2018-01-02 16:41:41.985330+0800 GSProject[2483:896909] [BoringSSL] Function boringssl_session_errorlog: line 2871 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert

收藏
点赞
0
个赞
共2条回复 最后由用户已被禁言回复于2022-04
#3我的冷欣回复于2018-05

Has anybody found a solution to this problem? I have been facing this issue. The funny thing is I use the same NSMutableURLRequest to call an api which works fine and i get response. But when when I call a different api on another server it doesn't work and I don't get any response. Hence these in my error logs:

2018-05-14 10:59:28.426097+0000 MyVoda[3570:476772] [BoringSSL] Function boringssl_session_errorlog: line 2871 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert

2018-05-14 10:59:28.426259+0000 MyVoda[3570:476772] TIC Read Status [1:0x6040001768c0]: 1:57

2018-05-14 10:59:28.426609+0000 MyVoda[3570:476772] [BoringSSL] Function boringssl_session_errorlog: line 2871 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert

2018-05-14 10:59:28.426840+0000 MyVoda[3570:476772] Task .<1> HTTP load failed (error code: -1005 [4:-4])

2018-05-14 10:59:28.427053+0000 MyVoda[3570:476054] Task .<1> finished with error - code: -1005

error is Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={NSUnderlyingError=0x60400024ca80 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={NSErrorPeerAddressKey={length = 16, capacity = 16, bytes = 0x100201bb5057462e0000000000000000}, _kCFStreamErrorCodeKey=-4, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey="myapi" NSErrorFailingURLKey="myapi", _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-4, NSLocalizedDescription=The network connection was lost.}.

Can any body help?

0
#2周俊316回复于2018-02

出现原因可能是appid和appkey的鉴权失败,协议出错。

 

请您检查 您的这两个值是否填写正确

0
TOP
切换版块