owt-client-native icon indicating copy to clipboard operation
owt-client-native copied to clipboard

bug

Open byshenliuan opened this issue 6 years ago • 12 comments

[2019-05-31 10:26:17] [error] handle_read_http_response error: websocketpp.transport:7 (End of File) [2019-05-31 10:26:23] [connect] Successful connection [2019-05-31 10:26:23] [error] handle_read_http_response error: websocketpp.transport:7 (End of File)

byshenliuan avatar May 31 '19 02:05 byshenliuan

the same issue here. ios conference sample -> click connect button. error log: [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)

ChungTak avatar Jun 18 '19 01:06 ChungTak

Please check your socket.io library being linked. If you are using secure connections, link your application with libsioclient_tls.a; otherwise, link it with libsioclient.a.

jianjunz avatar Jun 18 '19 06:06 jianjunz

libsioclient.a is linked . I changed to libsioclient_tls_no_verification.a ,connect url changed to https://xxx:3004 get the same error.

ChungTak avatar Jun 19 '19 01:06 ChungTak

socket.io lib only impacts the connection between client and portal (default port 8080). It doesn't impact the connection between client and sample service (default port 3001 and 3004).

jianjunz avatar Jul 15 '19 07:07 jianjunz

I got the same error.

sltruman avatar Apr 05 '20 14:04 sltruman

I think it might be a bug. I find it in the conferencesocketsignalingchannel.cc HTTP is forced to be used.

std::string scheme("http://");
std::string host;
rtc::GetStringFromJsonObject(json_token, "host", &host);
......
socket_client_->connect(scheme.append(host)); 

In the OWT server, portal can be configured to use SSL,if i set the ssl is true in portal.toml i can not join the room

keycodingyfq avatar Jun 18 '20 19:06 keycodingyfq

I'm also getting same issue. I've downloaded the "CS_WebRTC_Client_SDK_iOS.v4.3.1 and click on conference -> connect button. I also changed to the library (libsioclient_tls_no_verification.a) . I connected the server https://xxxxxx:3004 with port 3004.

NagarajuMetavoxx avatar Jul 04 '20 11:07 NagarajuMetavoxx

I'm also getting same issue. I've downloaded the "CS_WebRTC_Client_SDK_iOS.v4.3.1 and click on conference -> connect button. I also changed to the library (libsioclient_tls_no_verification.a) . I connected the server https://xxxxxx:3004 with port 3004.

Same problem,are u resolve this problem ?

darcyjee avatar Oct 30 '20 07:10 darcyjee

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

darcyjee avatar Nov 02 '20 03:11 darcyjee

I have this problem too. Can you fix this problem?

godd113 avatar Jan 05 '21 01:01 godd113

I am facing the same issue. Please resolve it as soon as possible

rabiea avatar Feb 02 '21 13:02 rabiea

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

没有libsioclient_tls_no_verification.a, 编译完只有libsioclient_tls.a和libsioclient.a两个文件

DamiClub avatar Jan 25 '22 05:01 DamiClub