question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cross-seed incorrectly thinks torrents already exist in qBittorrent

See original GitHub issue

I’m getting quite a few entries in my log that state as the heading is showing. Basically saying that a cross-seed is available and it exists w/in qbit.

However, when I go to check to make sure I do not find that release with that specific tracker.

Config as follows

	// can be either "save" or "inject".
	// With "inject" you need to specify the rtorrent rpc url.
	action: "inject",

	// The url of your qBittorrent webui.
	// Only relevant with action: "inject".
	// Supply your username and password inside the url like so:
	// "http://username:password@localhost:8080"
	qbittorrentUrl: "http://<username>:<password>@192.168.1.200:8080",
Screen Shot 2021-05-06 at 2 09 57 PM

Not entirely sure why It would be doing that if there isn’t that release from that tracker w/in qbit.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15

github_iconTop GitHub Comments

1reaction
mmgoodnowcommented, May 26, 2021

This is perfect! Something must be going on with authentication.

The line

[qbittorrent] info hash <HASH> found in client: Forbidden

means that we’re getting a 403 Forbidden error from the qBittorrent API. The reason this was showing up as “exists” is because the code was doing roughly the following logic:

if responseText is "Not Found", then the torrent doesn't exist
Otherwise, the torrent must exist. 

But that was an erroneous assumption, clearly.

@bobokun are you familiar with this behavior of qBittorrent’s api? Maybe I need to re-authenticate every so often due to session expiration? Or maybe just retry individual requests? I’ll take a look at the Flood codebase.

1reaction
mmgoodnowcommented, May 24, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem when wanting to cross seed · Issue #269 - GitHub
But sometimes, it just adds new tracker to the already existing torrent. And that is happening on the same torrents. And while qBittorrent...
Read more >
Cross-seeding when the .torrent hash is identical
I downloaded the .torrent file for the file at tracker B, and added it to qBittorrent, with the correct "save as" directory. But...
Read more >
How can i seed torrent to my friend and connect it to already ...
I want something like this but with already exist public torrent file. ... r/qBittorrent - A bit of a unique problem, I guess,...
Read more >
How to Fix the “qBittorrent Stalled” Error? – 10 Proven Ways
If there are no seeders available to connect, then nothing can be downloaded and the torrent stalled qBittorrent error displays.
Read more >
cross-seed - npm
cross-seed is an app designed to help you download torrents that you can cross seed based on your existing torrents.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found