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

There is already a swarm listening on port (error) #635

Closed
niieani opened this issue Feb 21, 2016 · 3 comments
Closed

There is already a swarm listening on port (error) #635

niieani opened this issue Feb 21, 2016 · 3 comments
Labels
bug

Comments

@niieani
Copy link
Contributor

@niieani niieani commented Feb 21, 2016

I don't have reproduction steps for this. This happened when destroying a running torrent (not sure if that's related to the error or not).

events.js:154
      throw er; // Unhandled 'error' event
      ^

Error: There is already a swarm with info hash 3f19b149f53a50e14fc0b79926a391896eabab6f listening on port 62108
    at node_modules/bittorrent-swarm/lib/tcp-pool.js:100:22
    at nextTickCallbackWith0Args (node.js:453:9)
    at process._tickCallback (node.js:382:13)
@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Feb 22, 2016

What version of webtorrent? What version of node.js?

This is really odd, because an 'error' handler is always attached to the swarm. See https://github.com/feross/webtorrent/blob/66e8be7a12c22276bcb94ba81dcc5da3a41ceeda/lib/torrent.js#L216

@feross feross added the bug label Feb 22, 2016
@niieani

This comment has been minimized.

Copy link
Contributor Author

@niieani niieani commented Feb 22, 2016

WebTorrent from Git master (cloned 2 days ago) and Node 5.6.

On Mon, 22 Feb 2016 at 03:47, Feross Aboukhadijeh notifications@github.com
wrote:

What version of webtorrent? What version of node.js?

This is really odd, because an 'error' handler is always attached to the
swarm. See
https://github.com/feross/webtorrent/blob/66e8be7a12c22276bcb94ba81dcc5da3a41ceeda/lib/torrent.js#L216


Reply to this email directly or view it on GitHub
#635 (comment).

@lock

This comment has been minimized.

Copy link

@lock lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
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
2 participants
You can’t perform that action at this time.