Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Intel Customer Support will be observing the Martin Luther King holiday on Monday, Jan. 17, and will return on Tues. Jan. 18.
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

ios下模拟器无法连接服务器

ttom1
Novice
545 Views
您好:
我的测试环境如下:
webrtc SDK 3.3,
服务端使用https模式(购买的https证书),
客户端XCode8.0,
模拟器ios9.0,
https库为libsioclient_tls_skip_verification.a
修改了MacOS的hosts文件,增加服务器的域名和ip映射项
 
结果如下:
编译没有问题;
运行时,在地址框中输入服务器的地址,调试器出现以下错误:
。。。(前面的应该是没有问题的log)
2017-07-27 09:22:45.579832 WoogeenConference[810:43260] [] tcp_connection_event_notify 1 event: TCP_CONNECTION_EVENT_TLS_HANDSHAKE_COMPLETE, reason: nw_connection event, should deliver: true
2017-07-27 09:22:45.581056 WoogeenConference[810:43260] [] tcp_connection_get_statistics DNS: 3ms/9ms since start, TCP: 22ms/43ms since start, TLS: 62ms/102ms since start
[2017-07-27 09:22:50] [info] Error getting remote endpoint: system:9 (Bad file descriptor)
[2017-07-27 09:22:50] [error] handle_connect error: Timer Expired
[2017-07-27 09:22:50] [info] asio async_shutdown error: asio.ssl:336462100 (uninitialized)
[2017-07-27 09:22:57] [info] Error getting remote endpoint: system:9 (Bad file descriptor)
[2017-07-27 09:22:57] [error] handle_connect error: Timer Expired
2017-07-27 09:22:57] [info] asio async_shutdown error: asio.ssl:336462100 (uninitialized)
 
join方法既不执行onSuccess回调,也不执行onFailure回调,程序一直等待;
 
此时使用网页连接服务器正常,说明应该不是服务器的问题;
 
请帮忙解决,谢谢。
0 Kudos
1 Reply
Jianjun_Z_Intel
Employee
545 Views

可能是服务端portal模块没有打开https。

Reply