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 does not seed #1784

Open
Mapteg34 opened this issue Dec 1, 2019 · 3 comments
Open

webtorrent does not seed #1784

Mapteg34 opened this issue Dec 1, 2019 · 3 comments

Comments

@Mapteg34
Copy link

@Mapteg34 Mapteg34 commented Dec 1, 2019

What version of this package are you using?
What operating system, Node.js, and npm version?

mapt@mpc webtorrent.malahov-artem.ru % npm list webtorrent
webtorrent.malahov-artem.ru@1.0.0 /var/www/webtorrent.malahov-artem.ru
├── webtorrent@0.107.16 
└─┬ webtorrent-hybrid@4.0.1
  ├── webtorrent@0.107.16  deduped
  └─┬ webtorrent-cli@3.0.5
    └── webtorrent@0.107.16  deduped
mapt@mpc webtorrent.malahov-artem.ru % node -v 
v10.1.0
mapt@mpc webtorrent.malahov-artem.ru % npm -v
5.6.0
mapt@mpc webtorrent.malahov-artem.ru % uname -a
Linux mpc 4.19.82-gentoo #1 SMP Mon Nov 11 10:04:32 +04 2019 x86_64 Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz GenuineIntel GNU/Linux

What happened?

mapt@mpc webtorrent.malahov-artem.ru % node seed.js
client.seed done { magnetURI: 'magnet:?xt=urn:btih:683999ae98d858dc4b1712457442dcdceafe76e5&dn=test.mp4&tr=http%3A%2F%2F192.168.1.44%3A8000%2Fannounce',
  ready: true,
  paused: false,
  done: true }

After magnet created in parallel window i use

mapt@mpc webtorrent.malahov-artem.ru % node download.js "magnet:?xt=urn:btih:683999ae98d858dc4b1712457442dcdceafe76e5&dn=test.mp4&tr=http%3A%2F%2F192.168.1.44%3A8000%2Fannounce"
client.seed done { magnetURI: 'magnet:?xt=urn:btih:683999ae98d858dc4b1712457442dcdceafe76e5&dn=test.mp4&tr=http%3A%2F%2F192.168.1.44%3A8000%2Fannounce',
  ready: true,
  paused: false,
  done: false }

And i expect a downloaded test.mp4 in ./ folder, but its not dowloaded...

What did you expect to happen?

Download file by webtorrent, who was seeding by webtorrent

** Files **
seed.js https://pastebin.com/uuHCQyzC
download.js https://pastebin.com/wVU444gH
I use bittorrent-tracker as a tracker
https://pastebin.com/Z6rEdRKf

@mayeaux

This comment has been minimized.

Copy link

@mayeaux mayeaux commented Feb 3, 2020

Did you ever get this to work? running into the same thing

@Mapteg34

This comment has been minimized.

Copy link
Author

@Mapteg34 Mapteg34 commented Feb 3, 2020

Did you ever get this to work? running into the same thing

No, I didn't

@mayeaux

This comment has been minimized.

Copy link

@mayeaux mayeaux commented Feb 3, 2020

Here's my issue: #1812

Virtually identical.

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.