Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).

ios sdk v4.2.1例子conference连不上服务器handle_read_http_response error

Second_Chan
Novice
1,796 Views

测试了一下新版4.2.1的conference例子,chrome和安卓都没有问题,ios 点击连接按钮没反应,不断提示以下信息

[2019-06-16 14:46:57] [connect] Successful connection
[2019-06-16 14:46:57] [error] handle_read_http_response error: websocketpp.transport:7 (End of File)

服务器上无任何异常日志,我不太懂ios,弄了两天也解决不了,麻烦大神们帮忙看看。

运行环境:

  1. xcode10.2
  2. ios 模拟器(iphone8)
  3. macos 10.14.5

测试步骤:运行ios例子,输入http://xxx.xx.xx.:3001/  点击 连接按钮 

File server-logs.tar

Binary Data ios_conference.log

owt的github上有人遇到同样的问题,但没人回复。

https://github.com/open-webrtc-toolkit/owt-client-native/issues/125

0 Kudos
3 Replies
Jincheng_S_Intel
Employee
1,796 Views

@Second Chan

你的server端ssl配置的如果是true,用libsioclient_tls.a或者libsioclient_tls_no_verification.a去连接,如果是false请用libsioclient.a去连接。

0 Kudos
王__明
Beginner
1,796 Views

我也遇到和楼主相同的问题了,请问楼主解决这个问题了么?  

用libsioclient_tls.a这个还是出现

[2019-12-27 10:33:00] [connect] Successful connection

[2019-12-27 10:33:00] [error] handle_transport_init received error: TLS handshake failed

[2019-12-27 10:33:00] [info] asio async_shutdown error: asio.ssl:336462231 (shutdown while in init)

还有怎么配置SSL 证书啊? 

是在OWTConferenceClientConfiguration 中的certificate  配置么?

0 Kudos
lanlankoK
Beginner
1,572 Views

请问问题解决了吗?

0 Kudos
Reply