Multiple Trackers Aren't Recognized in 2.8.4

Bug #825454 reported by mxyzptlk
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
qBittorrent
Fix Released
Medium
Christophe Dumez

Bug Description

Since the upgrade to 2.8.3 and 2.8.4, where trackers could be adjusted by tiers, the ability to have more than one active tracker seems to be lost. Only the top-most tracker is reported as "Working," where the rest are reported as "Not Contacted Yet." (And I have no idea if it's due to libtorrent-rasterbar or the qBittorrent interface.)

So: If a tracker is moved to the top-most position, no matter what tier it began in, it will generally work (unless that particular tracker is broken). But the previous top-most tracker is then moved down and shows "Not Contacted Yet," despite showing a number of seeds/peers. It also seems to make no difference if a tracker is tiered at the 0 position, 1, 2, etc.

However, this isn't always the case; on occasion, when a different tracker is moved to the top position, the previous top-most tracker will still show as "Working," but this is a rare occurrence. It's inconsistent, but never gets more than two or three trackers, no matter how many are added.

This behavior started with the addition of the tiers and the ability to shift them around (with the arrows on the right side of the Trackers tab). In past versions, where no tiering was present, all trackers that worked showed "Working" and displayed the number of seeds and peers. Now it seems that no matter how many trackers are added, only one will be used.

The thing is, I've compared the stable ppa version against the 11.04 supported version, 2.6.9, and can't really tell the difference. In general, with version 2.6.9, the speed is faster with clearly active multiple trackers. However, version 2.8.4 seems to be only a little slower even though it shows only one clearly working tracker -- but that may just be due to the kind of torrentz I've tested (either low-seeded niche documentaries or really common and massively-torrented programs). So I can't tell if those multiple trackers in 2.8.4 actually aren't being contacted, or if they really are being contacted and qBittorrent incorrectly shows them as "Not Contacted Yet."

In the meantime, I've gone back to 2.6.9 I don't know if this is just a Linux issue or a general issue or a rasterbar thing, but I'm using the stable Launchpad ppa (or was), and saw the issue in Ubuntu 11.04.

(I posted this in the qBittorrent forums for Linux before filing this bug report.)

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

This is not a bug, this is the expected behavior now. This is according to the multi-tracker specification (http://www.bittornado.com/docs/multitracker-spec.txt). If we do not respect trackers, we get blacklisted.

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
status: New → Invalid
Revision history for this message
mxyzptlk (mxyzptlk) wrote :

That clears it up, thanks.

Revision history for this message
Darren Gibbard (dalgibbard) wrote :

"The tiers of announces will be processed sequentially; all URLs in each tier must be checked before the client goes on to the next tier. URLs within each tier will be processed in a randomly chosen order; in other words, the list will be shuffled when first read, and then parsed in order. In addition, if a connection with a tracker is successful, it will be moved to the front of the tier."

Isn't it still a bug that it doesn't process more than one tracker? It doesn't say that you cant? Just that you must do so serially?

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

It does say so, look at the examples at the bottom.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

In v2.9.0, it is possible to change the multi-tracker behavior via advanced settings. Default is to announce to trackers in order (following multi-tracker specification). However, the user can now set qBittorrent to announce to all trackers (as uTorrent does).

Changed in qbittorrent:
importance: Undecided → Medium
milestone: none → 2.9.0
status: Invalid → Fix Committed
Revision history for this message
Darren Gibbard (dalgibbard) wrote :

Sounds like 2.9 is going to be a cracker! Great job Christophe!

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

And if you're in a hurry to get this "feature" back, I'm uploading v2.9.0beta1 to the unstable PPA right now:
https://launchpad.net/~hydr0g3n/+archive/qbittorrent-unstable

Changed in qbittorrent:
status: Fix Committed → Fix Released
Revision history for this message
Josh McCullough (joshua-mccullough) wrote :

I found this in Options > Advanced, down at the bottom. Great! Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.