qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.41k stars 3.99k forks source link

4.0.3. Manually added trackers stuck at "not contacted yet" status #8099

Closed dpdsbd closed 5 years ago

dpdsbd commented 6 years ago

Please provide the following information

qBittorrent version and Operating System

4.0.3 - Windows 10

What is the problem

When manually adding trackers to torrent (bulk add, several trackers, all properly spaced), only 2 first are working, all others are stuck on "not contacted yet" status. Forcing reannounce doesnt change anything.

What is the expected behavior

All manually added trackers should be normally announced

Steps to reproduce

Click on "Add a tracker" and submit a list of 5+ trackers (properly spaced - ex. from https://newtrackon.com/list)

Extra info(if any)

(type here)

keefcycle commented 6 years ago

qBittorrent version and Operating System 4.0.3 (64 bit) - Windows 10 Pro - Version10.0.16299 Build 16299

What is the problem When manually adding trackers to torrent (bulk add, several trackers, all properly spaced), all are stuck on "not contacted yet" status. Forcing re-announce doesn't change anything, nor does restarting.

What is the expected behavior All manually added trackers should be normally announced

Steps to reproduce Click on "Add a tracker" and submit a list of 5+ trackers (properly spaced - ex. from https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all.txt

or https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all_ip.txt

Extra info(if any) (type here)

paolorodriguez commented 6 years ago

It seems like it's because it's all assigned a # of "0" thus they're being treated as one "unit"

Highlighting the newly-added trackers, then clicking the arrow buttons at the right-hand area of the window beside the trackers list will cause the program to renumber and they will be recognised individually.

Edit by Piccirello: see this comment for a more comprehensive workaround

Piccirello - thanks for the edit however I would appreciate if you signed the part of my comment you've edited in so it's clear who is making what statement; I do not agree that your linked comment is indeed a solution. To me this is a workaround, and in agreement with DianaNites in their comment, it's very unclear to me what benefit this tiering "feature" brings.

MakoSDV commented 6 years ago

This occurs in 4.0.2 (64 bit) in Windows 7 as well.

techlvm commented 6 years ago

@paolorodriguez I am not clear on your instructions. What buttons to the right?

techlvm commented 6 years ago

Has anyone figured out a resolution to this?

MakoSDV commented 6 years ago

@techlvm the buttons that @paolorodriguez mentioned are the Up and Down arrow buttons on the right side of the trackers list that adjust the order of the trackers. Changing the order triggers the trackers to all be renumbered so they start working. It's a workaround at least until an actual fix is identified.

techlvm commented 6 years ago

@paolorodriguez @MakoSDV Thank you both. A workaround is certainly better than nothing.

MakoSDV commented 6 years ago

Another workaround that is working for me: Tools -> Options Advanced Enable "Always announce to all trackers in a tier" Make sure "Always announce to all tiers" is also enabled

techlvm commented 6 years ago

@MakoSDV Thanks. I will give that a try as well. Yeah... that's the ticket. All set now. Much better than changing the order on each individually. Thanks again.

giantplaceholder commented 6 years ago

The same is the case for qbittorrent-nox, except that web UI lacks the tier announcement option for trackers. Is there any flag in the config file I can set up to resolve the issue?

EDIT -- seems that it's enough to add this to config file: Advanced\AnnounceToAllTrackers=true

maathieu commented 6 years ago

This is still an issue on qbt 4.0.4!

The "clicking the arrow buttons at the right-hand area of the window" workaround works.

Enable "Always announce to all trackers in a tier" Make sure "Always announce to all tiers" is also enabled does not work for me.

Dennywuh commented 6 years ago

Workaround doesn't work in case of private torrents with only one tracker. Permanent solution needed.

Fixer-007 commented 6 years ago

Can confirm this bug (or a feature?) on 4.0.4 on win.

Easy workaround: select any tracker in "Trackers" tab of that torrent and move it down or up once via those up/down buttons, doing so will make all those trackers work (even after restart) :)

Example (screenshot is not mine): default

hdcTenBasePid commented 6 years ago

Hey not sure, but in the above screenshot I fail to see a problem given the number of attached Seeds and Peers. The default setting in Options->Connection, Maximum number of connections per torrent is 50. Unless you have upped that limit substantially, what would be the point of contacting additional trackers. Remember their bandwidth is a finite resource, and most would then end up with a status of 'Not Working' anyways.

Nerva72 commented 6 years ago

It would be nice if this problem was fixed.

fireattack commented 6 years ago

This bug also happens if you create a torrent with multiple trackers.

ann4belle commented 6 years ago

Still happening in 4.0.4 x64 on Win10 Pro 1709, also seems to happen when adding a torrent with multiple predefined trackers in it. Client seemingly chooses a tracker at random and uses it exclusively. The workaround of reordering the trackers using the arrows causes qBittorrent to announce to all trackers, meaning that it's a bug rather than a limitation.

@hdcTenBasePid the benefit is that other trackers may have different seeds and peers, which may have faster upload speeds or fewer users to split the speed between. More contacted trackers = more potential seeds = faster potential downloads. Also, as you said, the max connections per torrent is 50 by default, but it can be increased. You also seem to be confused as to how the BitTorrent protocol operates - trackers simply provide a list of peers for a given torrent file; they don't host the files themselves, which is why it's so hard to shut them down.

ann4belle commented 6 years ago

Update: on 4.0.4 x64 this appears to be solved if you go into Advanced options and tick "Always announce to all trackers in a tier", although this isn't default behavior (but probably should be). Recommend that this issue is closed.

fireattack commented 6 years ago

I won't call it "solved" if the default setting still causes problem.

One can argue it's "expected" or "intended" that multiple trackers added together will have the same tier, but what about creating torrents? There is literally no way to configure the "tier" (why it's a thing to begin with? Just curious) when creating a torrent.

WurstCommander commented 6 years ago

Same bug still there with the newest version to date.

Charkel commented 6 years ago

Same bug here!

Nothing works...

I have the freshest list of the best trackers but all says "Not contacted yet" and I cannot make them announce!

I have switched from uTorrent to this client for good I thought. This is critical for me. It's a matter of multiple Mbits in speed not being able to add multiple trackers.

What should I do? :(

UPDATE:

Strangest thing, I tried removing all the un-connected trackers to start try again and the speed dropped. Then the software hang and when I restarted all the trackers were back and it was forcing a re-check of the files (that takes ages on a 50GB file) All trackers still has status "Not contacted yet"

UPDATE 2:

I had a working tracker in the list when adding it from TPB but now all say "Not yet contacted" BUT it's getting seeders/peers from Somewhere! But I don't know it it's only the TPB downloaded the torrent from. image

image

UPDATE 3:

Next torrent wont even start, TPB magnet with 137 seeders. image

image image

4 minuts, nothing. And 4m its a lie. Its almost 10 now when even having time to update this. Sorry.. I have to switch back to uTorrent I cannot use this,.

Please, please don't make me go back to uTorrent

fireattack commented 6 years ago

About the speed: it can still use DHT to get other peers.

WurstCommander commented 6 years ago

It's not really helpful that one of the biggest clients doesn't seed correctly. I hope this issue gets looked at.

whitesnakeftw commented 6 years ago

This is almost one year old, should be fixed with maximum priority IMO.

WurstCommander commented 6 years ago

I switched to Tixati because of the ignorance of this bug, it's a little bit more work the configure it, but it's a perfectly fine alternative to QBittorrent.

GuardianLiarus commented 5 years ago

qBitorrent v4.1.4 , this bug is still an issue , glad i found this workaround tho .

RobertoHernandezjr commented 5 years ago

Arrows work around worked for me too thanks!

rrrevin commented 5 years ago

As mentioned above, for those running qbittorrent-nox, this option is not available via the web interface...

Edit your qbittorrent.conf file and add the following to the [Preferences] section and restart the service: Advanced\AnnounceToAllTrackers=true

This worked for me.

Nuke142 commented 5 years ago

why it still persist in 4.1.6 webui ? can it be fixed yet?

PHCSJC commented 5 years ago

I am using qbittorrent-nox on debian 9,and I have add this to file backmost. vi ~/.config/qBittorrent/qBittorrent.conf Advanced\AnnounceToAllTrackers=true

Then is good,qb can connect all trackers!

QQ截图20190528093854

ghost commented 5 years ago

v4.1.7 windows still not fix. Glad I found this workaround.

It's very weird that manual add trackers are the same tier 0. we add trackers because we want to connect to all trackers.

neviln commented 5 years ago

It's been over 1.5 years since the issue was mentioned....I don't understand how this has not been addressed or fixed yet?

thalieht commented 5 years ago

You guys probably didn't know that the '#' column in the Trackers tab is the Tier and how could you of course (will be renamed accordingly in 4.2.0). As you have already figured out, all you need to do is to enable the desired Tier setting(s) in Advanced options (which is also coming to WebUI in 4.2.0).

p.s. This guy's problem https://github.com/qbittorrent/qBittorrent/issues/8099#issuecomment-392746229 is most probably unrelated to this issue because he doesn't have a single working tracker.

Prizm4 commented 5 years ago

This problem was driving me nuts until I found this thread. Thanks to @paolorodriguez who advised of a workaround in January 2018 (clicking the arrow buttons). This bug must be very hard to fix if it has been almost two years and it's still a problem 😦

Piccirello commented 5 years ago

The # column indicates a tracker's tier. By default, qBittorrent will only announce to the first tracker in each tier.

Screen Shot 2019-09-23

As @thalieht mentioned, you can modify this behavior in Advaced Options. You'll want to enable

Screen Shot 2019-09-23
Nuke142 commented 5 years ago

The # column indicates a tracker's tier. By default, qBittorrent will only announce to the first tracker in each tier.

Screen Shot 2019-09-23

As @thalieht mentioned, you can modify this behavior in Advaced Options. You'll want to enable

  • Always announce to all trackers in a tier
  • Always announce to all tiers
Screen Shot 2019-09-23

How to do that in webui ? i use qbittorrent on my NAS.

thalieht commented 5 years ago

How to do that in webui ?

You can't yet but you will be able to in 4.2.0. In the meantime you can edit the config file and change the appropriate entries (i hope they are the correct ones... haven't purged my config file for a long time):


[Preferences]
Advanced\AnnounceToAllTrackers=true

[BitTorrent]
Session\AnnounceToAllTiers=true
DianaNites commented 5 years ago

It's really confusing when this project keeps claiming this bug is actually a "feature", despite the only way to get trackers with the same number is adding them manually, and despite that any attempt to modify that order will re-number them all, and despite the fact that why in the world would anybody adding a list of trackers want only one of them to work by default?!

and they've closed it as "not an issue", as if an appropriate default behavior when adding multiple trackers is for none of them to work?

Theres clearly no such thing as tiers, theres no way to add tiers or change them, they only show up when first adding trackers because of this bug.

Prizm4 commented 5 years ago

@DianaNites wrote: "why in the world would anybody adding a list of trackers want only one of them to work by default?! and they've closed it as "not an issue", as if an appropriate default behavior when adding multiple trackers is for none of them to work?"

Exactly, how can you possibly consider this as default behavior? The average user would have no idea their tracker list won't function properly without being aware of the workarounds. Why did you close this, @Piccirello ? Do we need to open up a new issue for the same problem?

Piccirello commented 5 years ago

I closed this issue due to it falling under "expected behavior." It may not be expected from a user's perspective, but it is expected from the perspective of a qBittorrent developer. That being said, I acknowledge that the community still sees this as an issue.

I have opened PR #11272 to try to address this concern.

fireattack commented 5 years ago

Hi Piccirello, firstly thanks for your work on this issue.

I think even from a design perspective, the behavior doesn't make sense.

To be honest, I don't understand why qb has "tiers" and can have multiple trackers in the same tier to begin with.

Even if we accept this concept, I think adding new trackers intuitively should be adding them as new tiers. But currently, it adds them to "tier 0" for some reason.

The reason being, "tier 0" sounds like a priority (compared to tier 20, for example). But in reality, because of the settings mentioned above, it actually is the opposite - it will only work if your original tier 0 doesn't, which is pretty rare.

It will only work as "intended" if people are adding trackers as "backups" for their original tier 0 tracker, which in 99% cases, is not the intent.

We can change the default settings to "fix“ it, but that pretty much eliminates the whole point of "tiers" (not that I have an issue with getting rid of it, though..).

A more elegant solution IMO could be to make the manually added trackers actually have their own tiers, and this means they will be actually used even under current default setting.

Piccirello commented 5 years ago

A more elegant solution IMO could be to make the manually added trackers actually have their own tiers, and this means they will be actually used even under current default setting.

@fireattack You're right, that is a more elegant solution. I'm going to look into implementing that.

treysis commented 4 years ago

At least make the tiers changeable/editable?! What is this nonsense?

normanu commented 4 years ago

Can confirm this bug (or a feature?) on 4.0.4 on win.

Easy workaround: select any tracker in "Trackers" tab of that torrent and move it down or up once via those up/down buttons, doing so will make all those trackers work (even after restart) :)

Example (screenshot is not mine): default

This is not possible on the WebUI, the option is not there.

aaronth07 commented 4 years ago

This was closed? What is the solution? I am on a private tracker and the arrows do not work. I have tried force announcing as well as the option in the settings.

NotTsunami commented 4 years ago

This was closed? What is the solution? I am on a private tracker and the arrows do not work. I have tried force announcing as well as the option in the settings.

Why are you manually adding trackers to a private tracker?

aaronth07 commented 4 years ago

I'm not. It says not contacted yet for the private tracker. I have not added any trackers.

FranciscoPombal commented 4 years ago

@aaronth07

I'm not. It says not contacted yet for the private tracker. I have not added any trackers.

Then why are you clicking the "arrows" and why do you say they "do not work"? Their purpose is to change a tracker between tiers (or between positions in a given tier, not sure), which does not make sense in private tracker torrents since there is only 1 tracker (there are some rare cases where there can be more than one, like TorrentLeech torrents under certain circumstances, but in these cases changing tiers doesn't matter either way). What were you expecting them to do instead?

When a tracker says "not contacted yet", it means exactly what says. This is the state for when the torrent is paused. The trackers are contacted once the torrent is started/resumed. When that happens, the status will change briefly to "Updating..." before changing to either "Working" or "Not working".

Piccirello commented 4 years ago

Make sure to enable "Always announce to all tiers" in Advanced settings. You may also want to ensure that "Always announce to all trackers in a tier" is enabled too.

nydydn commented 4 years ago

It doesn't make sense to write this, in this specific issue, of this specific version of qbittorrent, but this is the first result on google when searching for qbittorrent stalled not contacted yet.

Here's my experience:

I got the dreaded "not contacted yet" on all trackers of all torrents. The arrows that changes the tier order did nothing. Force reannounce did nothing. "Always announce to all trackers" did nothing. I reinstalled an older version, still nothing. I checked the logs of qbittorrent, nothing conspicuous. I checked the announce url and it was good. I checked for errors in the event viewer of windows, and I fixed some unrelated stuff. Still, nothing made qbittorrent work, but..

restarting the computer.

Worked like a charm.

I'm old enough that I should have tried this before everything else.

So yeah.. restart your computer, and you're welcome.

To be at least a bit on topic. I understand that this issue could be caused by connection issues. Probably it would be a good idea if qbittorrent would throw some connection related error when this happens, so that people think to restart their connection/computer.