-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libtorrent not honouring announce_to_all_trackers settings #4302
Comments
I'm trying to reproduce this by extending the unit tests, and I cannot. There's a possibility this is an issue on qBT. Could you provide some more details on the behavior and the expected behavior? |
for instance, are you sure all trackers are not part of different tiers? perhaps the |
Ok I found an interesting thing. When I bind Qbit to a specific IP address it honours the settings. But when I bind it to all IP addresses it announces to all trackers. |
interesting. This really overlaps with what I've been working on fixing for 1.2.4. It would be great if you would have a chance to try a recent build. However, I don't think this issue is fixed, but I think I know what's going on. The way multi-homing support works is by attempting to announce from all source IP addresses, but under normal circumstances, only one will work and the other ones will be considered "no route to host". I bet this failure of specific endpoints for a tracker spills over into the whole tracker being considered not working. If a tracker isn't working, the next one in the tier is tried. I think the logic needs to be that all endpoints for a tracker fail before the tracker is considered failed. |
So who's considering the tracker as failed when one of the endpoints fail? Qbit or lib? |
Here's an attempt to fix this: #4310 |
Let me know when you merge it. Will test and confirm if it works. |
it has landed in |
Nice! Is 1.2.4 release coming soon? Or the RC_1_2 branch is stable? |
yes, I will cut 1.2.4 tonight or tomorrow. Unless something comes up |
This comment has been minimized.
This comment has been minimized.
It looks like you are picking up header files from an older version of libtorrent |
Thanks! Forgot to clean previous build. |
I'm still getting "No route to host" errors on latest build from launchpad :
In my setup, Deluge is running as a specific user whose default routing table send all traffic to a vpn. This setup was working great for ages and still working great if I log as this user and access https://www.ripe.net/ : it shows my vpn public address. |
is |
Yes
Definitely
Nope... I have 3 torrents that finished correctely this week, but it was with several public trackers and I don't have relevant logs anymore to see if it was from DHT or not... |
I had the same kind of issue due to bad DNS server. |
It doesn't come from my DNS (selfhosted recursive pi-hole btw) :
|
thanks for reporting this! fixed here: #4320 |
please give it another try now! |
libtorrent version (or branch):
1.2.3
platform/architecture:
Windows 10
compiler and compiler version:
please describe what symptom you see, what you would expect to see instead and
how to reproduce it.
In Qbit latest version 4.2.1 using libtorrent 1.2.3 if you set Announce to all trackers to false libtorrent still announcing to all trackers in same tier. If downgraded to 4.1.9.1 which use libtorrent 1.1x this problem doesn't exist. So I'm suspecting the problem is with libtorrent 1.2.3.
The text was updated successfully, but these errors were encountered: