Skip to content
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

webtorrent + webrtc + AWS ec2 server seeding issues #472

Closed
olalonde opened this issue Oct 30, 2015 · 8 comments
Closed

webtorrent + webrtc + AWS ec2 server seeding issues #472

olalonde opened this issue Oct 30, 2015 · 8 comments

Comments

@olalonde
Copy link
Contributor

@olalonde olalonde commented Oct 30, 2015

I'm having trouble seeding a file over webrtc from an ec2 machine (webtorrent-hybrid). Are there any specific ports that need to be opened? I've opened opts.torrentPort and opts.dhtPort in my ec2 security group and both dht + regular bittorrent protocol are working. I can't however seem to download anything from my browser over webrtc which is seeded from that server.

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Oct 31, 2015

I'm having a similar problem on a DO droplet. There's no firewall rules at all. Have you got any solution yet?

@olalonde

This comment has been minimized.

Copy link
Contributor Author

@olalonde olalonde commented Nov 1, 2015

I also tried disabling firewall rules but not luck. I'm running my app in Docker though which might make things more complex. I also noticed that when I enable webrtc support, my server CPU usage skyrockets.

@Chocobozzz

This comment has been minimized.

Copy link
Contributor

@Chocobozzz Chocobozzz commented Nov 1, 2015

@olalonde See webtorrent/webtorrent-hybrid#5

But same here, I can't seed from a Docker image.

@olalonde

This comment has been minimized.

Copy link
Contributor Author

@olalonde olalonde commented Nov 1, 2015

Thanks for pointing to this issue, I'm having same issues as you it seems.

@Chocobozzz

This comment has been minimized.

Copy link
Contributor

@Chocobozzz Chocobozzz commented Nov 2, 2015

Finally doesn't seem to be a Docker issue, I can view videos with the host from a webtorrent server seeding inside Docker.

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Dec 3, 2015

@olalonde have you fixed it? I got a semi-working seeder using xfvb (as fake screen, so no need to install a GUI desktop), electron-spawn (headless electron wrapper) (to make it work as a browser). The problem I have is that the process dies after a few hours (haven't really investigated why).

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Feb 28, 2016

It sounds like you guys got this figured out, and the remaining issues are just related to wrtc crashing after a while and taking a lot of CPU :(

@feross feross closed this Feb 28, 2016
@lock

This comment has been minimized.

Copy link

@lock lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.