Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upWebTorrent won't seed in the browser #1201
Comments
This comment has been minimized.
This comment has been minimized.
|
Furthermore, is |
This comment has been minimized.
This comment has been minimized.
|
@brannondorsey |
This comment has been minimized.
This comment has been minimized.
|
@DiegoRBaquero can you confirm that the seeding behavior expected from adding a torrent in one browser tab is that that browser tab should be able to seed to another browser tab that ads the same magnet? I've been running demos using magnets of unique files that I know are not being seeded by other peers to test, and I cannot get a browser to seed to another browser. I can confirm that the above drag-drop code ^ will seed to a WebTorrent desktop client (if I copy/paste the magnet), but I've had absolutely no luck with browser-to-browser seeding. |
This comment has been minimized.
This comment has been minimized.
|
I seem to be able to seed from btorrent.xyz to btorrent.xyz and instant.io. Also working from btorrent.xyz to WebTorrent Desktop. Must be something related to networking/firewall |
This comment has been minimized.
This comment has been minimized.
|
This appears to have been an issue with my browser. Chromium 60 simply would not seed. Upgrading to 61 worked. Had issues on firefox as well. I figured this out because seeding wouldn't work with http://file.pizza. Switching computers and browsers worked. |
I'm using WebTorrent in the browser. Downloading from magnet URLs work great (using
wss://trackers), however I can't get any content to seed.The
client.seed(...)callback fires and a torrent magent is fired, however the content is never seeded and the upload event never gets triggered when I try to download using that magnet from another WebTorrent peer (leaving the drag-drop browser tab open of course).I've attempted to download content from the peer using both WebTorrent desktop and another WebTorrent client in browser but to no avail.
Running
webtorrent info <magnet>yields:I've also attempted to seed using only
client.add(MAGNET_URI)(and not use an explicit call toclient.seed(FILE)), but no dice.Can anyone else out there confirm that basic seeding functionality in browser is working correctly and if so, perhaps exact code you are using. Or perhaps someone here notices an explicit error in my understanding of how WebTorrent works in the browser. Again torrent leaches fine but will not seed. I've tried many different magnets to many different files as well as different variations of the above code.
What version of WebTorrent?
Latest, delivered in the browser by CDN:
https://cdn.jsdelivr.net/webtorrent/latest/webtorrent.min.jsWhat operating system and Node.js version?
Ubuntu 16.04
What browser and version? (if using WebTorrent in the browser)
Chormium 60.0 and Latest Firefox (not Quantum)
What did you expect to happen?
Seeding to work in browser.
What actually happened?
Torrents download but never upload using
wss://trackers.