-
Notifications
You must be signed in to change notification settings - Fork 92
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
cli slow, browser good same machine #70
Comments
Did I get this correctly: cli -> cli: slow What happens when you send from cli to browser or browser to cli? Is the sender and recipient on the same network? are they the same machine? From the sound of it, in your network environment the browser is able to establish a direct connection, but the cli isn't so it ends up using a the relay. Also, is 300kbps consistent with your normal internet connection bandwidth or is it unusually slow? I usually get much faster relay rates. |
i am sending from 1 machine in my local network to second one, and cli always hits relay and browser always goes direct. my usual internet speed is 100 mbps |
sorry for the long pause. so the problem is that browsers can connect directly, but cli hits relay so it gets relay speeds. it can be quite difficult to troubleshoot why ICE failed to get a direct connection when it could have. how were you running the cli? does it have direct network access or is it namespaced (e.g. docker or vm?) |
directly in terminal, no vm no docker |
i just pushed a change to log local and remote candidates when running with the verbose flag. this might help troubleshoot why the two peers can't connect to each other directly. run
and on machine 2:
now verify that the two machines can indeed reach each other on these addresses, e.g. no firewall rules or nats are getting in the way. if they are indeed on the same local network, the host candidate should work. also, what operating system and version are you using? and what browser? |
so from same machine i am trying to send file from cli and browser and cli maxes out on 300kbs and browsers goes to 4mbs recipient and sender is same in both cases any idea?
cli says relay by the way don't know what browser uses…
The text was updated successfully, but these errors were encountered: