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 upAdding torrent without any error and then nothing happens #536
Comments
This comment has been minimized.
This comment has been minimized.
|
It's hard to see what the issue might be looking at a random snippet from your codebase. Nothing stands out as obviously wrong. You can enable debug logs across all of the various webtorrent packages by setting the
In the browser, you can do the same by running this in your console and refreshing the page: localStorage.debug = '*'This is documented here: https://github.com/feross/webtorrent#enable-debug-logs Then, please paste the full debug output here and I can take a look. |
This comment has been minimized.
This comment has been minimized.
|
OK thanks! I just realized I need to use Node if I want UDP and TDP peers and not only WebRTC peers. I have another issue in node but it is not the place. Will open a new issue if you don't mind |
This comment has been minimized.
This comment has been minimized.
|
Yep, that's right – the browser can only connect to WebRTC peers. |
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. |
Here is my code that is supposed to add a torrent and download it:
However it does not work (source:
'magnet:?xt=urn:btih:09e37f73e51f403bb543517f0d0a2e1283d61eb0&dn=archlinux-2015.12.01-dual.iso&tr=udp://tracker.archlinux.org:6969&tr=http://tracker.archlinux.org:6969/announce)I mean, the torrent is added successfully, no error is thrown, but then nothing happens. No request is logged in the request log in chrome dev tools, no error in the console nothing. Any idea?
Thanks in advance,
(BTW here is the whole source https://github.com/vinz243/pTorrent/tree/features/lib)