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 upError duplicated torrents #273
Comments
This comment has been minimized.
This comment has been minimized.
|
Please share the code you wrote that caused this error. |
This comment has been minimized.
This comment has been minimized.
|
i'm working in a simple torrent client for raspberry pi, but i have a problem when i try to put the same torrent twice |
This comment has been minimized.
This comment has been minimized.
|
Very off-topic but I'm interested in targeting the Raspberry Pi for the following reasons:
Is this going to be a client with a native front-end like Popcorn-Time? I recently created a webtorrent branch there. Or is it going to be a web app to be used by a remote computer? Perhaps you can help me developing Bitorama |
This comment has been minimized.
This comment has been minimized.
|
In my apartament needed a server to download torrent files to not have all
|
This comment has been minimized.
This comment has been minimized.
|
gustaria que tu pruebas Bitorama :-) @feross The code is probably at https://github.com/IngenieroFiestero/piTorrent |
This comment has been minimized.
This comment has been minimized.
|
@IngenieroFiestero You can't add the same torrent to the client twice – it's forbidden since it makes no sense. What are you trying to do? |
This comment has been minimized.
This comment has been minimized.
|
If a client or two clients adds the same torrent, the server crashes. Im
|
This comment has been minimized.
This comment has been minimized.
|
There should be a way to handle those kind of errors more elegantly when they happen. Something like...
|
This comment has been minimized.
This comment has been minimized.
|
You can detect errors on the webtorrent client by adding an client.on('error', function (err) {
console.error(err.stack)
}) |
This comment has been minimized.
This comment has been minimized.
|
@IngenieroFiestero This issue is fixed in |
events.js:72
throw er; // Unhandled 'error' event
^
Error: Swarm listen error: There is already a swarm with infoHash 19a6ce37f136e6fda1f0e18efee768c42ec38f6a listening on port 33294