Closed proninyaroslav closed 6 years ago
sorry for the delay, can't give you an ETA now for the review of this issue
Ok, I'll wait.
Main thread with detail problem description https://github.com/proninyaroslav/libretorrent/issues/93#issuecomment-316372311
Is there any progress in solving this problem?
hi @proninyaroslav, I'm still very busy with three particular native crashes in libtorrent
, but I want to ask you: Is the "requires unlimited time to downloading metadata" your original problem to not use the fetchMagnet
? You can pass the maximum integer as a timeout, and that's essentially infinity
Нes, this is a good idea, but there are several unpleasant moments:
At the moment, the solution of this problem is to remove TorrentHandle
and add it again.
You are right with those undesired issues, fetchMagnet
and related API still needs to be evolve more, I try to work on it this week
Hi. I tested version 1.2.0.13-RC11
and now many trackers that have not worked before are working correctly. But with some still there is the same problem, for example, with this:
magnet:?xt=urn:btih:59066769B9AD42DA2E508611C33D7C4480B3857B&dn=ubuntu-17.04-desktop-amd64.iso&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.istole.it%3A6969&tr=udp%3A%2F%2Fopen.demonii.com%3A1337
magnet:?xt=urn:btih:6EA43E8EF81170ECBACA6F82D4A0FF6480D56026&tr=http%3A%2F%2Fbt.t-ru.org%2Fann%3Fmagnet&dn=%D0%98%D1%81%D1%87%D0%B5%D0%B7%D0%BD%D0%BE%D0%B2%D0%B5%D0%BD%D0%B8%D0%B5%20%D0%A5%D0%B0%D1%80%D1%83%D1%85%D0%B8%20%D0%A1%D1%83%D0%B4%D0%B7%D1%83%D0%BC%D0%B8%D0%B8%20%2F%20Suzumiya%20Haruhi%20no%20Shoushitsu%20%2F%20The%20Disappearance%20of%20Haruhi%20Suzumiya%20%5BMovie%5D%20%5B%D0%91%D0%B5%D0%B7%20%D1%85%D0%B0%D1%80%D0%B4%D1%81%D0%B0%D0%B1%D0%B0%5D%20%5BRUS(int)%2C%20JAP%20%2B%20SUB%5D%20%5B2010
This is fixed with https://github.com/frostwire/frostwire-jlibtorrent/commit/46af86399e8fa3898927ba6e1b20f9211609c720, added a new java API for it, try 1.2.0.15-RC3
. I saw you added some workarounds in your project, let me know if this helps to simplify your code. I will close this issue, but feel free to open new ones.
Ok, thanks, one of these days I'll check it.
Hello. This problem is observed only with torrents of the certain tracker - http://forum.tntvillage.scambioetico.org. For example take this torrent http://forum.tntvillage.scambioetico.org/index.php?showtopic=569096. Torrent paused if it downloaded from magnet (this applies to all torrents of this tracker). I also can't resume it, because it immediately stops automatically. If I download from torrent file then this problem is missing. Also this problem is not observed if I delete all trackers from the end of magnet uri (e.g.
magnet:?xt=urn:btih:AD838261E23F84886E1219EDF53A8B608A8D5820&dn=Microsoft+Windows+10+v1703+AIO+8+in+1+Aprile+2017.torrent
).I want to warn that I'm using a modified
fetchMagnet
version fromjlibtorrent
. App logic requires unlimited time to downloading metadata. Code:I don't delete torrent handle that remains after receiving metadata and I use it for the subsequent downloading this torrent. This is probably a bad example of using this code, but it works fine for all torrents, except torrents of this tracker. This problem is not observed in the original version of
fetchMagnet
, and also if I delete and create torrent handle again.