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 upCannot seed and download from same Node.js process? #469
Comments
This comment has been minimized.
This comment has been minimized.
|
Well, this is not really a priority so closing. |
This comment has been minimized.
This comment has been minimized.
|
@olalonde Yeah I think this is due to the |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
So I have a Node.js file where I start seeding a file with
client1and create aclient2that downloads it using a magnet URI. I hardcoded thetorrentPortfor client1 to20001so that it doesn't conflict with client2.The download doesn't seem to work for some reason. However if I repeat the process but comment out the client1 download part and instead download the file using the
webtorrentclient from another shell session, it downloads correctly.Is there anything in the code that might explain this? I recall seeing
refusing handshake with selferrors in the logs. Is this a bug related to the fact that both clients share the same node process?Both clients have different peerIds/nodeIds.
Here's part of the log output:
183.17.152.194 being my IP.