Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
2 Views

iOS P2PSample is not working

Hi,

I am trying to use the p2psample on ios, but it is not working. Issue is over https.

If I try with http://mypeerserver.com:8097, it is working.

But if I try with https://mypeerserver.com, it is not working.

Here is the error I am facing:

2017-09-12 16:10:57.727620+0530 WoogeenChat[3506:1652471] Connect to http://mypeerserver.com/

[2017-09-12 16:10:57] [connect] Successful connection

[2017-09-12 16:10:57] [error] Server handshake response error: websocketpp.processor:20 (Invalid HTTP status.)

[2017-09-12 16:11:02] [connect] Successful connection

[2017-09-12 16:11:03] [error] Server handshake response error: websocketpp.processor:20 (Invalid HTTP status.)

[2017-09-12 16:11:10] [connect] Successful connection

[2017-09-12 16:11:10] [error] Server handshake response error: websocketpp.processor:20 (Invalid HTTP status.)

[2017-09-12 16:11:21] [connect] Successful connection

[2017-09-12 16:11:21] [error] Server handshake response error: websocketpp.processor:20 (Invalid HTTP status.)

2017-09-12 16:11:21.999413+0530 WoogeenChat[3506:1654197] OnSocketCLientError: Error Domain=com.intel.webrtc Code=2402 "(null)"

2017-09-12 16:11:22.000248+0530 WoogeenChat[3506:1653372] Socket client error

2017-09-12 16:11:22.000353+0530 WoogeenChat[3506:1653372] Login fail.

 

Please help.

 

Thanks & Regards,

Srinivas

Tags (2)
0 Kudos
1 Reply
Highlighted
2 Views

Hi,

Hi,

It is working now.

I added the libsioclient_tls.a to the required libraries and it worked it.

Thanks,

Srinivas

0 Kudos