cross-seed: cross-seed incorrectly thinks torrents already exist in qBittorrent

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.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15

Most upvoted comments

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.

Hoping to dig into this this weekend.

I haven’t forgotten about this. Just been super busy recently.