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

The android apk in the sdk are failed to connect to server

eric_h_1
Beginner
901 Views

The servers for woogeenconference.apk

basic server:http://61.152.239.56:3001/

manager:http://61.152.239.56:3000/

are failed to connect Socket.io connect failed.

I use the SDK CS_WebRTC_Client_SDK_Android.v3.0

and the server for woogeenp2p.apk

http:61.152.239.56:8095/ is failed to login 

log for woogeenconference.apk >>>>>>>>>>>>>>>>>>>>>>>>>>>>

03-17 15:27:02.841 D/WooGeen-Activity(12416): token is eyJ0b2tlbklkIjoiNTZlYTViNGVjMDg0OWVkMzE1NzE3NGJiIiwiaG9zdCI6IjYxLjE1Mi4yMzkuNTY6ODAiLCJzZWN1cmUiOnRydWUsInNpZ25hdHVyZSI6Ik1XVTNNbU5oTTJRek1qTmpNbU0xTXpJMU1qZGhZV0ZqTUdFeVpqQTJNVEV6TVdZNE5qVmtPRGsxWkRjek1XRmlaV0kyWmpObFptRmlNakZsWmpJeU1nPT0ifQ==
03-17 15:27:02.841 D/WooGeen-ConferenceClient(12416): Join a conference.
03-17 15:27:02.841 D/WooGeen-SocketClient(12416): Token is {"tokenId":"56ea5b4ec0849ed3157174bb","host":"61.152.239.56:80","secure":true,"signature":"MWU3MmNhM2QzMjNjMmM1MzI1MjdhYWFjMGEyZjA2MTEzMWY4NjVkODk1ZDczMWFiZWI2ZjNlZmFiMjFlZjIyMg=="}
03-17 15:27:02.841 D/WooGeen-SocketClient(12416): Socket thread is started.
03-17 15:27:03.181 E/WooGeen-SocketClient(12416): Socket.IO is not connected:com.github.nkzawa.engineio.client.EngineIOException: xhr poll error
03-17 15:27:03.191 D/WooGeen-SocketClient(12416): SocketIOClient Disconnected.

log for woogeenp2p.apk >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

03-17 15:29:20.061 D/WooGeen-Activity(12737): Failed to connect server:Socket.IO reports connect to signaling server failed.

0 Kudos
10 Replies
Chunbo_H_Intel1
Employee
901 Views

Hi Eric,

Could you tell us where you connected your Android phone to the server? I mean, using 4G/3G, or behind a firewall.

Another thing is that: Have you tried to connect to the server with Chrome, in order to make sure the server work correctly.

Thanks!

0 Kudos
eric_h_1
Beginner
901 Views

Hi,

both 4G and wifi are failed to connect to server. The token is successfully get,

but it failed in the socket.io-client.jar 

03-17 15:27:02.841 D/WooGeen-ConferenceClient(12416): Join a conference.
03-17 15:27:02.841 D/WooGeen-SocketClient(12416): Token is {"tokenId":"56ea5b4ec0849ed3157174bb","host":"61.152.239.56:80","secure":true,"signature":"MWU3MmNhM2QzMjNjMmM1MzI1MjdhYWFjMGEyZjA2MTEzMWY4NjVkODk1ZDczMWFiZWI2ZjNlZmFiMjFlZjIyMg=="}
03-17 15:27:02.841 D/WooGeen-SocketClient(12416): Socket thread is started.
03-17 15:27:03.181 E/WooGeen-SocketClient(12416): Socket.IO is not connected:com.github.nkzawa.engineio.client.EngineIOException: xhr poll error

0 Kudos
Chunbo_H_Intel1
Employee
901 Views

Have you used Chrome to check the availability of your MCU server?

Thanks!

0 Kudos
eric_h_1
Beginner
901 Views

HI

We do not setup a MCU server, but use the default server provided in the SDK samples

basic server:http://61.152.239.56:3001/

manager:http://61.152.239.56:3000/

0 Kudos
Chunbo_H_Intel1
Employee
901 Views

We do not provide public service of conference. You will have to setup your own server.

Thanks!

0 Kudos
Michael_C_14
Beginner
901 Views

Hi Chunbo H,

I setup own MCU server but still receive following error:

08-01 18:56:48.662 25165-25184/com.intel.webrtc.conference.sample D/WooGeen-SocketClient: Token is {"tokenId":"579f3901953baf790873c314","host":"X.X.X.X:8080","secure":true,"signature":"NjI5ZDE2OTY3ZmVjODVlY2M3YzJmNGM1YTVkODczYjNhN2E3ZDBhYzIwOWQ1MzI5ODFhMWY3ZDkwM2Y3MDVmOQ=="}
08-01 18:56:48.672 25165-25719/com.intel.webrtc.conference.sample D/WooGeen-SocketClient: Socket thread is started.
08-01 18:56:48.912 25165-25732/com.intel.webrtc.conference.sample E/WooGeen-SocketClient: Socket.IO is not connected:io.socket.engineio.client.EngineIOException: xhr poll error
08-01 18:56:48.912 25165-25732/com.intel.webrtc.conference.sample D/WooGeen-SocketClient: SocketIOClient Disconnected.

Pls, give me your advice?

0 Kudos
Chunbo_H_Intel1
Employee
901 Views

Hi Michael,

Which version of MCU are you using now? And, can you connect to the MCU with a latest Chrome? We want to make sure that MCU works normally on your side first.

Thanks.

0 Kudos
hua_c_
Beginner
901 Views

{"tokenId":"579f3901953baf790873c314","host":"X.X.X.X:8080","secure":true,"signature":"NjI5ZDE2OTY3ZmVjODVlY2M3YzJmNGM1YTVkODczYjNhN2E3ZDBhYzIwOWQ1MzI5ODFhMWY3ZDkwM2Y3MDVmOQ=="}
08-01 18:56:48.672 25165-25719/com.intel.webrtc.conference.sample D/WooGeen-SocketClient: Socket thread is started.
08-01 18:56:48.912 25165-25732/com.intel.webrtc.conference.sample E/WooGeen-SocketClient: Socket.IO is not connected:io.socket.engineio.client.EngineIOException: xhr poll error

-----------------------------

it works when you make "ssl=false" in file controller.toml

i think the key problem is that android sdk doesn't support ssl connection.

if i am right, please fix it.

 

 

 

0 Kudos
Michael_C_14
Beginner
901 Views

Hi Chunbo,

I use CS_WebRTC_Conference_Server_MCU.v3.1.1. I fixed this issue on Android by change security config from "true" to "false" but not enough. I'm find the way to run HTTPS on 8080 port. Who can give me advices?

Thanks.

0 Kudos
Chunbo_H_Intel1
Employee
901 Views

Android SDK does not support the self-signed certificate. You will need a CA issued digital certificate to run SSL on Android SDK.

Thanks!

0 Kudos
Reply