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-hybrid seeds to peers from bitorrent-tracker only if he starts running before them #930
Comments
This comment has been minimized.
This comment has been minimized.
|
Hi, thanks for reporting the issue. What's your OS? Do you happen to have debug logs? You can activate following this: https://github.com/feross/webtorrent#enable-debug-logs |
This comment has been minimized.
This comment has been minimized.
|
The webtorrent-hybrid runs on Ubuntu 14.04.5. I'm pasting here the log which came from the machine that runs the webtorrent-hybrid. The log is from the same moment i started the web-peer, and ends about 5 seconds after the browser finished to loading the page. Hopefully it will indicate something
|
This comment has been minimized.
This comment has been minimized.
|
I can't reproduce this. This could be an artifact of the network that you're on -- firewalls, NATs, etc. can affect your connectivity.
When a peer first joins a swarm, it connects to the tracker and sends some offers. The other peer sends the answer. So, weirdly, the connection seems to work only when Normally, peers re-announce every 5 minutes, but seeders don't. They just wait for peers to connect to them. So you're out of luck. Of course, there's also a chance that this is a bug in |
This comment has been minimized.
This comment has been minimized.
|
I have exactly the same problem. And if I do two times client.add, the second doesn't work.
I have this. |
This comment has been minimized.
This comment has been minimized.
|
This issue appears stale since it has been open for a while with no activity. I'm going to close it for now. If this is still issue, please feel free to leave a comment or open a new issue. |
Hi
I installed
bitorrent-trackeron one machine. I used the filenode_modules/bittorrent-tracker/bin/cmd.jsin order to start a tracker.Then I installed webtorrent-hybrid on other machine. I removed the default announce list from the file
/node_modules/create-torrent/index.jsI used the following code in order to run a seeder:
Then I try to download the file.mp4 in the browser, using the following code:
Both the browser and the seeder connected to the tracker. But the download never starts.
If I first start the browser, then start the seeder - the downloading starts once the seeder connected to the tracker!
Another scenario:
I tried to seed the same file from browser to other browser (Firefox to Chrome). I used the following code in order to seed
No matter what I do first - open the seeder or open the leecher - the download starts at the same moment the file dragged to the browser, which might indicate that the tracker works as well, and the problem might be in webtorrent-hybrid.