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

Some torrents does not download #1546

Closed
untitledlt opened this issue Nov 21, 2018 · 11 comments
Closed

Some torrents does not download #1546

untitledlt opened this issue Nov 21, 2018 · 11 comments

Comments

@untitledlt
Copy link
Contributor

@untitledlt untitledlt commented Nov 21, 2018

What version of WebTorrent?
0.102.4

What operating system and Node.js version?
OS X Mojave, node.js: v10.13.0

What did you expect to happen?
Torrent download should start

What actually happened?
Torrent gets added but download does not start.

Some torrents do not download. They get parsed but download does not start. I know what Webtorrent requires torrents to be seeded by WebRTC compatible clients but i can download those torrent in Webtorrent Desktop app. I guess it has the same limitations but does not have this problem.

I have a listeners on error and warning events but nothing comes here.
Let me know if you need more info.
.torrent file can be provided personally.

@untitledlt

This comment has been minimized.

Copy link
Contributor Author

@untitledlt untitledlt commented Nov 21, 2018

it's a node.js app

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Nov 21, 2018

Is the torrent webrtc seeded, tcp/udp seeded, or both?

@untitledlt

This comment has been minimized.

Copy link
Contributor Author

@untitledlt untitledlt commented Nov 21, 2018

How can i check that?

@untitledlt

This comment has been minimized.

Copy link
Contributor Author

@untitledlt untitledlt commented Nov 22, 2018

So WebRTC seed is only required for running webtorrent in browser?
I've just tried webtorrent-cli and it works. Node.js app still says 0 peers.

update: found one torrent which works in Webtorrent desktop app but doesn't work in node.js app nor webtorrent-cli.

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Nov 22, 2018

Correct. And maybe there are torrents which are only seeded in one network, so trying on the other won't work.

@untitledlt

This comment has been minimized.

Copy link
Contributor Author

@untitledlt untitledlt commented Nov 22, 2018

Not that case. Webtorrent Desktop works on the same machine.

@KayleePop

This comment has been minimized.

Copy link
Contributor

@KayleePop KayleePop commented Nov 23, 2018

I know what Webtorrent requires torrents to be seeded by WebRTC compatible clients but i can download those torrent in Webtorrent Desktop app. I guess it has the same limitations but does not have this problem.

Webtorrent Desktop doesn't actually have that same limitation. It acts as both a traditional bittorrent client and a webRTC webtorrent client. It can use webRTC and/or UDP/TCP to download torrents, so it can download a torrent seeded by a browser and it can also download a torrent seeded by something like transmission or utorrent.

webtorrent-cli only uses the webRTC protocol, while webtorrent-hybrid uses both.

The Webtorrent library (via npm) only uses the webRTC protocol in browsers, and only uses the TCP/UDP protocol in node.js. (depending on whether it's browserified or not)

@untitledlt

This comment has been minimized.

Copy link
Contributor Author

@untitledlt untitledlt commented Nov 23, 2018

Thanks for your answer.
Is it possible to use both protocols (webRTC and tcp/udp) in node.js app?

@KayleePop

This comment has been minimized.

Copy link
Contributor

@KayleePop KayleePop commented Nov 23, 2018

Yeah, use webtorrent-hybrid

@yamashi

This comment has been minimized.

Copy link

@yamashi yamashi commented Jan 16, 2019

We are experiencing this as well, is there anything new regarding this ?

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Jan 16, 2019

Please don't use WebTorrent to infringe copyright.

@webtorrent webtorrent locked and limited conversation to collaborators Jan 16, 2019
@webtorrent webtorrent deleted a comment from untitledlt Sep 5, 2019
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.