webtorrent / webtorrent-desktop

❤️ Streaming torrent app for Mac, Windows, and Linux
https://webtorrent.io/desktop
MIT License
9.69k stars 1k forks source link

Webtorrents do not download after >5 mins #2260

Closed ghost closed 1 year ago

ghost commented 2 years ago

What version of WebTorrent Desktop are you using? v24.0 What operating system and version? Ubuntu 22.04 What happened? Torrents do not download from browser after WebTorrent Desktop is running for >5 minutes. Here is a .webm https://webm.red/y0wQ What did you expect to happen? Torrents should continue to download after WebTorrent has been running. This may be related to https://github.com/webtorrent/webtorrent/issues/1981 Are you willing to submit a pull request to fix this bug? Not able

DiegoRBaquero commented 2 years ago

WebRTC P2P connection cannot be established between browser and app. And as you are probably the only seeder, if it doesn't work, there's nothing to be done. Please check that WebRTC is enabled in the browser and that there's no firewall blocking such connections.

ghost commented 2 years ago

WebRTC is enabled in the browser, and there is no firewall blocking the connections. If you watch the end of the .webm, when WebTorrent Desktop is restarted the torrent downloads from instant.io. It just hangs after Webtorrent Desktop has been open for around 5 minutes. I have about 180 torrents seeding if that matters

neuronsupport commented 1 year ago

I hit the same problem. Webtorrent desktop just stops working after 5 minutes or so. I have built the latest from this repository to see if anything is fixed up until. But No! it still stops accepting connections after 5 minutes or so.

neuronsupport commented 1 year ago

All trackers are timeout according to the developer console of the webtorrent client.

neuronsupport commented 1 year ago

WebTorrent.app/Contents/Resources/app.asar/build/renderer/controllers/torrent-controller.js:46 warning for torrent 3: tracker request timed out (undefined) (udp://tracker.leechers-paradise.org:6969) WebTorrent.app/Contents/Resources/app.asar/build/renderer/main.js:357 webtorrent: got wt-warning WebTorrent.app/Contents/Resources/app.asar/build/renderer/controllers/torrent-controller.js:46 warning for torrent 3: tracker request timed out (undefined) (udp://tracker.coppersurfer.tk:6969) WebTorrent.app/Contents/Resources/app.asar/build/renderer/main.js:357 webtorrent: got wt-warning WebTorrent.app/Contents/Resources/app.asar/build/renderer/controllers/torrent-controller.js:46 warning for torrent 3: tracker request timed out (undefined) (udp://tracker.empire-js.us:1337) WebTorrent.app/Contents/Resources/app.asar/build/renderer/main.js:357 webtorrent: got wt-warning WebTorrent.app/Contents/Resources/app.asar/build/renderer/controllers/torrent-controller.js:46 warning for torrent 1: tracker request timed out (undefined) (udp://tracker.leechers-paradise.org:6969) WebTorrent.app/Contents/Resources/app.asar/build/renderer/main.js:357 webtorrent: got wt-warning WebTorrent.app/Contents/Resources/app.asar/build/renderer/controllers/torrent-controller.js:46 warning for torrent 1: tracker request timed out (undefined) (udp://tracker.coppersurfer.tk:6969) WebTorrent.app/Contents/Resources/app.asar/build/renderer/main.js:357 webtorrent: got wt-warning WebTorrent.app/Contents/Resources/app.asar/build/renderer/controllers/torrent-controller.js:46 warning for torrent 1: tracker request timed out (undefined) (udp://tracker.empire-js.us:1337) WebTorrent.app/Contents/Resources/app.asar/build/renderer/main.js:357 webtorrent: got wt-warning WebTorrent.app/Contents/Resources/app.asar/build/renderer/controllers/torrent-controller.js:46 warning for torrent 2: tracker request timed out (undefined) (udp://tracker.leechers-paradise.org:6969) WebTorrent.app/Contents/Resources/app.asar/build/renderer/main.js:357 webtorrent: got wt-warning WebTorrent.app/Contents/Resources/app.asar/build/renderer/controllers/torrent-controller.js:46 warning for torrent 2: tracker request timed out (undefined) (udp://tracker.coppersurfer.tk:6969) WebTorrent.app/Contents/Resources/app.asar/build/renderer/main.js:357 webtorrent: got wt-warning WebTorrent.app/Contents/Resources/app.asar/build/renderer/controllers/torrent-controller.js:46 warning for torrent 2: tracker request timed out (undefined) (udp://tracker.empire-js.us:1337) WebTorrent.app/Contents/Resources/app.asar/build/renderer/main.js:357 webtorrent: got wt-warning WebTorrent.app/Contents/Resources/app.asar/build/renderer/main.js:344 dispatch: openTorrentContextMenu Array(1) 21WebTorrent.app/Contents/Resources/app.asar/build/renderer/main.js:357 webtorrent: got wt-progress

neuronsupport commented 1 year ago

After getting these timeouts webtorrent desktop stops. After a while later, it get wt-progress 21 times for some reason and starts to run again until it timeouts all trackers again

Acelya-9028 commented 1 year ago

Yes same

ghost commented 1 year ago

This may be related to https://github.com/webtorrent/webtorrent/issues/1981 but the solution there isn't permanent it only works intermittently or up to 24 hrs

github-actions[bot] commented 1 year ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?