-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: WebRTC: ICE failed, add a TURN server and see about:webrtc for more details #766
Comments
I am experiencing the same issue: after submitting the login form, it fails with the message "Try another browser" (I have tried Firefox, Chrome, and Safari), and the browser console displays the same error message as described above. |
It's due to the port range for the RTC server - new versions are using 50000 to 50100 but this docker version is only forwarding 50000 to 50010 |
Actually I was forwarded 50000 to 50100 before, but the problem source was from other side. I have installed CodeProject AI but it was on IP+Port (not domain), so after upgrading the ispyconnect, it could not load. I reinitiate the container from scratch and put AI Server behind a domain (without uncommon port) and insert the domain in the AI server location and problem resolved. Maybe it can be another issue to be fixed?! Thanks |
@ispysoftware I’ve extended the range of the ports in my docker-compose, removed the existing container and image, pulled the latest version, and started everything again. I also cleared the browser cache but I’m still encountering the same error: WebRTC: Using five or more STUN/TURN servers slows down discovery Is there anything else I need to check? Do you have any idea what could be causing this issue? |
have you tried the docker version on the download page? |
What docker version from which download page do you mean? Thats my docker-compose:
I´ve changed the port range from 50010 to 50100, but that haven´t changed anything. Some other system specs: EDIT: I also tried the https://www.ispyconnect.com/download Docker command, does not work aswell (also tested on an other machine) |
@jo-gross will need more info than "does not work" - it's working fine here. |
@ispysoftware by "does not work," I meant that the same issue as described above persists, and a simple upgrade to "mekayelanik/ispyagentdvr:5.9.2.0-beta" (the latest version suggested on the download page) did not resolve the problem. I also tried the "network_mode: host" and this works - nice hint, thanks a lot! :) Only for interest, do you have any ideas what could cause this with not host mode? A missing port (docker-compose already posted)? I am using IPv4, no firewall, no antivirus or no vpn. Container Log: |
The updated webrtc library doesn't have a TURN server built into it, only STUN. I guess in some NATs the only connection possible is via the TURN server. Pretty weird as it's working fine in all my tests on multiple computers. I'll look into packaging coturn with it. |
Affected Version
latest (FROM DOCKER HUB sha256:4dd51c3266955d5ee499776a817720ad7aa4672057ec82fdf4b18c93f1ccd0d0)
Describe the bug
After upgrading ispyagent to latest version, it could not start, and stuck at connecting. This is error from browser console (tested on chrome, firefox, edge):
WebRTC: ICE failed, add a TURN server and see about:webrtc for more details
and this is error from docker:
StartUp: Error adding remote ICE candidate. Remote ICE candidate was empty. 1 udp 0 0 typ host generation 0
Steps To Reproduce
Just open the web browser and navigate to ispydvragent.
Expected behavior
Connect to CCTVs.
The text was updated successfully, but these errors were encountered: