Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Progress stop in xx% and onStreamReady never come with some torrents #83

Open
Boutannoura opened this issue Jul 20, 2022 · 3 comments
Open

Comments

@Boutannoura
Copy link

Thank you for the new update ,

but we still facing this issue , some torrents progress stuck in xx% and onStreamReady never come.

this is an example torrent url has this issue :
magnet:?xt=urn:btih:41A458B0FE1D51166F16D25C29C7F9D5D3B6B7C9&dn=Jurassic+World+Dominion&tr=udp://glotorrents.pw:6969/announce&tr=udp://tracker.opentrackr.org:1337/announce&tr=udp://torrent.gresille.org:80/announce&tr=udp://tracker.openbittorrent.com:80&tr=udp://tracker.coppersurfer.tk:6969&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://p4p.arenabg.ch:1337&tr=udp://tracker.internetwarriors.net:1337

if you can fix this issue with minor update.

Thank you .

@se-bastiaan
Copy link
Owner

Well, I cannot fix something when I don't know what the problem is.

Does the download finish at all? What's the status of the torrent session? We need more info.

And probably move this to the TorrentStream-Android repo or to the original issue. Because this sounds similar.

@Boutannoura
Copy link
Author

Boutannoura commented Jul 21, 2022

@se-bastiaan

i'm facing the some issue with. original TorrentStream-Android,i think same issue here se-bastiaan/TorrentStreamServer-Android#7

This an other example :

D/TORRENT: status.bufferProgress: 50 // status.progress: 12.4878 // status.seeds: 107 // status.downloadSpeed: 983853
D/TORRENT: status.bufferProgress: 50 // status.progress: 12.4878 // status.seeds: 107 // status.downloadSpeed: 983853
D/TORRENT: status.bufferProgress: 50 // status.progress: 12.682899 // status.seeds: 109 // status.downloadSpeed: 983853
D/TORRENT: status.bufferProgress: 50 // status.progress: 12.682899 // status.seeds: 109 // status.downloadSpeed: 983853
D/TORRENT: status.bufferProgress: 50 // status.progress: 12.682899 // status.seeds: 109 // status.downloadSpeed: 983853
D/TORRENT: status.bufferProgress: 50 // status.progress: 12.682899 // status.seeds: 109 // status.downloadSpeed: 983853
D/TORRENT: status.bufferProgress: 50 // status.progress: 12.682899 // status.seeds: 109 // status.downloadSpeed: 983853
D/TORRENT: status.bufferProgress: 50 // status.progress: 12.682899 // status.seeds: 109 // status.downloadSpeed: 983853

bufferProgress stuck in 50% and progress going well .

torrent url : magnet:?xt=urn:btih:BC4CE9D855E7DCEC0ADEE2DCFD04816ED1630A93&dn=Don%27t+Make+Me+Go&tr=udp://glotorrents.pw:6969/announce&tr=udp://tracker.opentrackr.org:1337/announce&tr=udp://torrent.gresille.org:80/announce&tr=udp://tracker.openbittorrent.com:80&tr=udp://tracker.coppersurfer.tk:6969&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://p4p.arenabg.ch:1337&tr=udp://tracker.internetwarriors.net:1337

@se-bastiaan se-bastiaan transferred this issue from se-bastiaan/TorrentStreamServer-Android Jul 29, 2022
@se-bastiaan
Copy link
Owner

se-bastiaan commented Jul 29, 2022

You should be able to get the torrent handle from the unlaying libtorrent library using getTorrentHandle. That handle has a download queue that would be nice to know. You can also obtain a vector containing info about the downloaded bytes per file which may help when debugging. Something else you may want to check if the pieces that are prioritised are actually available using https://github.com/aldenml/libtorrent4j/blob/master/src/main/java/org/libtorrent4j/TorrentHandle.java#L1107

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants