-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Cannot connect on non host network types #1
Comments
At this point seems WebRTC's port selection is to blame as it picks ports that may not be forwarded on the container causing connection to fail. Host network allows to translate host's port profile which in turn may have ports more readily available. |
I've added some code into the most recent update to agent that will check for a file called turn.json in the application root directory. If it exists it'll read that in and add the contents to the ICE server list. {"urls":"turn:localhost:3148?transport=udp", "credential": "somepassword", "username": "someusername"},{"urls":"turn:localhost:3148?transport=tcp", "credential": "somepassword", "username": "someusername"} Agent will load this in when it starts up. I haven't tested this here yet but i think it should resolve the issue. Also will need to expose and publish the port that coturn is running on. |
Cool, I'm a bit busy but as soon as I get the time I'lll review and test. Thanks for all the hard work! |
@ispysoftware Thanks! |
yeah it should output
|
I see. I'll try a few other times see if I did something wrong but keep us updated! Thank you! |
I've got it working - will update it probably tomorrow |
Perfect! Will wait anxiously! Haha. |
Closed as per 04cf704. |
Seems the issue still persists on Linux. I tested this on mac and seems completely fine, not sure why it would be different. @ispysoftware What OS' did you have a chance to test this on? |
Hmm, seems the Dockerfile didn't pull the latest version, still is in 2.8.1.0. Perhaps a caching issue, I'll look into it. |
Re-closing and opening another issue. |
Decription:
When using non host network types, web UI gets stuck on loading and eventually fails to connect prompting to retry.
Logs:
Been in contact with the Agent's main developer and seems this is related to: bbc/brave#43
There's also a side discussion here:
https://github.com/anthonyangel/agentdvr-docker/issues/2
Workaround:
Run the container in host network type.
The text was updated successfully, but these errors were encountered: