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

Seed same torrent with different trackers #1595

Closed
daeschlerdavid opened this issue Mar 17, 2019 · 2 comments
Closed

Seed same torrent with different trackers #1595

daeschlerdavid opened this issue Mar 17, 2019 · 2 comments
Labels

Comments

@daeschlerdavid
Copy link

@daeschlerdavid daeschlerdavid commented Mar 17, 2019

Hello,

How can I seed the same torrent with different trackers ?
I known i cloud just merge all trackers url but this is not recommanded on most trackers.

I don't see why I could not seed the same torrent multiple times, as it is just read only.

Currently webtorrent report this error :
Cannot add duplicate torrent ${torrent.infoHash}

@stale

This comment has been minimized.

Copy link

@stale stale bot commented Jun 15, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Jun 15, 2019
@stale stale bot closed this Jun 22, 2019
@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Aug 5, 2019

WebTorrent creates one TCP server to listen for incoming connections from peers. When a peer sends a handshake, they include the torrent infohash that they're interested in sharing. If you added two torrents with the same infohash, then it would not be possible to distinguish between which of the two identical torrents they are attempting to connect to.

I recommend just adding new tracker urls to the existing torrent. Or, if you insist, you can create two WebTorrent client instances, one for each torrent. Then they'll have different listening servers and appear as two completely separate peers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

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