Mass ban of all incoming peers #7791
Unanswered
proninyaroslav
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Linked issue: #7734
libtorrent version (or branch): libtorrent4j,
libtorrent 2.0masterplatform/architecture: Android arm64
I use
libtorrent4jwrapper for Java in my Android app, which useslibtorrent 2.0masterbranch for building. Over the last year, users have started complaining that torrent downloads are abruptly interrupted. This doesn't happen to everyone. In the log that was sent to me, I found that all incoming peers were banned for some reason:Log
and only in 3 cases out of 71 it was indicated that the peer was banned because of too many corrupted piece:
Log
To understand the reason I decided to roll back the libtorrent4j version (current
2.1.0-33from Oct 30, 2024). I found that the problem started with version2.1.0-27from Jan 14, 2023. However, version2.0.6-26from Jun 6, 2022 doesn't have this problem, there are no mass bans of peers.libtorren4juses themasterbranch oflibtorren, so all release dates are relevant for themasterbranch of the same date.I also attach full versions of the logs, the one where there is a problem and the one where there is no problem:
problem_version_log.txt
prev_version_log.txt
Beta Was this translation helpful? Give feedback.
All reactions