cross-seed incorrectly thinks torrents already exist in qBittorrent
See original GitHub issueI’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",
Not entirely sure why It would be doing that if there isn’t that release from that tracker w/in qbit.
Issue Analytics
- State:
- Created 2 years ago
- Comments:15
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is perfect! Something must be going on with authentication.
The line
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: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.
In https://github.com/mmgoodnow/cross-seed/releases/tag/v2.3.6, I added some logging that will hopefully show what cross-seed sees when it thinks a torrent already exists.
https://github.com/mmgoodnow/cross-seed/blob/d1730f4d0bc09d2a391d66ce8c88c4af966a8265/src/clients/QBittorrent.ts#L84-L99