app首次安装时出现请求报[BoringSSL] nw_protocol_boringssl_error(1584) 错误。
2019-04-22 14:15:07.985454+0800 OFStore[1291:154097] [BoringSSL] nw_protocol_boringssl_error(1584) [C1.10:2][0x135ec0030] Lower protocol stack error: 54
2019-04-22 14:15:07.986618+0800 OFStore[1291:154097] TIC TCP Conn Failed [1:0x281366b80]: 1:54 Err(54)
2019-04-22 14:15:07.992404+0800 OFStore[1291:154097] Task <745FCC9A-D561-4120-8618-A9B38170E12E>.<1> HTTP load failed (error code: -1005 [1:54])
2019-04-22 14:15:07.992664+0800 OFStore[1291:154097] Task <745FCC9A-D561-4120-8618-A9B38170E12E>.<1> finished with error - code: -1005
2019-04-22 14:15:08.290688+0800 OFStore[1291:154087] [Fabric] failed to download settings Error Domain=FABNetworkError Code=-5 "(null)" UserInfo={status_code=403, type=2, request_id=70c4645204c8a4c7180ce6ebebbb55c8, content_type=application/json; charset=utf-8}
2019-04-22 14:15:09.503203+0800 OFStore[1291:154097] [BoringSSL] nw_protocol_boringssl_error(1584) [C3.10:2][0x135e80590] Lower protocol stack error: 54
2019-04-22 14:15:09.503778+0800 OFStore[1291:154097] TIC TCP Conn Failed [3:0x28136ce40]: 1:54 Err(54)
2019-04-22 14:15:09.508035+0800 OFStore[1291:154097] Task <2D1270F2-458C-4C85-935B-04E5FA4788F7>.<1> HTTP load failed (error code: -1005 [1:54])
2019-04-22 14:15:09.508296+0800 OFStore[1291:154097] Task <2D1270F2-458C-4C85-935B-04E5FA4788F7>.<1> finished with error - code: -1005
2019-04-22 14:17:07.331686+0800 OFStore[1291:154048] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C6.1:2][0x135e85a30] get output frames failed, state 8196
2019-04-22 14:17:07.331847+0800 OFStore[1291:154048] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C6.1:2][0x135e85a30] get output frames failed, state 8196
2019-04-22 14:17:07.332264+0800 OFStore[1291:154048] TIC Read Status [6:0x0]: 1:57
2019-04-22 14:17:07.332294+0800 OFStore[1291:154048] TIC Read Status [6:0x0]: 1:57
2019-04-22 14:18:55.325783+0800 OFStore[1291:154048] XPC connection interrupted
请求相关第一反应就是有可能是后台接口问题,最终却在app端解决了。
- 涉及的原因:app启动加载根控制器时,创建触发了某些问题,具体原因我通过查看线程树、断点也没完整定位出来。
- 解决:首次启动改为无网络请求,让登录页作为根控制器(修改前我是让首页作为根控制器,再根据条件弹出登录页)。
OC -> swift 传值类型不匹配。
Thread 1: Fatal error: NSArray element failed to match the Swift Array Element type
网友评论