Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

ICE servers configuration is not loaded #93

Open
francucchi opened this issue Mar 22, 2018 · 0 comments
Open

ICE servers configuration is not loaded #93

francucchi opened this issue Mar 22, 2018 · 0 comments

Comments

@francucchi
Copy link

Hi all,
I have cloned the source code and built it via docker command:

docker build -t linagora/hublin .

I have configured the webrtc in default.json as below:

"webrtc": {
"enabled": true,
"appIceServers": [
{"url": "stun:<MY_TURN_SERVER>:3478"},
{"url": "turn:<MY_TURN_SERVER>:3478?transport=tcp", "username": "admin", "credential": "admin"}
],
"level": "debug",
"roomNameRegExp": "^.{1,64}$",
"usernameRegExp": "^(.){1,200}$",
"adapter": "hublin.easyrtc.connector"
},

I have also added a further default.production.json which contains same info as above.
My turn server is working correctly and I have verified it via the GitHub Trickle ICE page either from internet or from intranet.
I then run the hublin via docker-compose command:

DOCKER_IP=192.168.5.220 docker-compose -f docker-compose.yml up

Problem is that when I start a conf room and I have a participant from internet and another joining from the intranet they can't see each others video and no audio is available.
In the hublin log I see:

hublin | debug: WebRTC Requesting ICE configuration
hublin | info: Ice servers are not configured, using default ones

and in chrome console logs I see:

angular.js:14791 setOnError with error: NOVIABLEICE [error={"errorCode":"SYSTEM_ERR","errorText":"NOVIABLEICE"}]
(anonymous) @ angular.js:14791
(anonymous) @ easyrtc-adapter.service.js:236
Easyrtc.showError @ easyrtc.js:4100
(anonymous) @ easyrtc.js:6608
pc.oniceconnectionstatechange @ easyrtc.js:6269

In the wireshark I see that STUN requests are sent to private IP addresses and connection isn't established.
I usually re-run the docker build command after each configuration change but the ICE servers setting never gets loaded into hublin.

Any idea?

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant