-
Notifications
You must be signed in to change notification settings - Fork 253
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
After upgrade to 2.5, suddenly getting error 1007 for system behind router (worked with 2.4) #227
Comments
It looks like mediasoup works differently than kurento. The deafult configuration doesn't work with NAT and the notes here https://github.com/bigbluebutton/docker/blob/develop/docs/behind-nat.md are outdated. Check my workaround here #222 I also opened a pull request to modify the NAT notes #223 |
Thanks for the feedback. Will let @alangecker take a quick look at the pull request and merge if it looks good. |
We've also managed to fix this. We specified a newer version of MediaSoup (3.10.5) to allow the containers to build successfully, and tweaked the scripts. Here's our diff:
|
Recently ran scripts/upgrade and then the newer scripts/upgrade-and-build script which ran without issue except that I had to apply the fix described in #226 to get MediaSoup to build (I specified version 3.10.3). This is running on a Docker host behind a router, which is forwarding all the relevant ports for COTURN, Greenlight and BBB (this same configuration was running happily using the same configuration via the 2.4 Docker install prior to the upgrade).
After the upgrade, all the containers run without any obvious error, but any attempt to connect the mike or video results in a 1007 error, and, in the Javascript console and error of
WebRTC: ICE failed, your TURN server appears to be broken, see about:webrtc for more details
.Looking at the BBB issue queue, I note bigbluebutton/bigbluebutton#14460 and investigated how these services are configured via the Docker install. Eventually, found that they are configured via MS_WEBRTC_LISTEN_IPS and MS_RTP_LISTEN_IP specified in the docker-compose.yml based on the template and the .env file value for EXTERNAL_IPv4. I also note the following comments directly above this in the template:
I don't have any IPv6 in this environment, so that's not an issue (unless a blank IPv6 external address creates issues!), but I'm wondering if this configuration accommodate an installation of Mediasoup behind a router (where the server IP isn't on the same network as the external IP)?
Is it possible that, given I'm using Mediasoup 3.10.3 that I might be running into issues related to bigbluebutton/bigbluebutton#15472?
As a short term fix, can I disable Mediasoup and revert to the previous solution?
The text was updated successfully, but these errors were encountered: