Handle qBittorrent accepted-but-unverified adds to avoid false 500 failures#643
Open
Copilot wants to merge 6 commits into
Open
Handle qBittorrent accepted-but-unverified adds to avoid false 500 failures#643Copilot wants to merge 6 commits into
Copilot wants to merge 6 commits into
Conversation
Copilot
AI
changed the title
[WIP] Fix internal error 500 during downloading
Handle qBittorrent accepted-but-unverified adds to avoid false 500 failures
May 27, 2026
Owner
|
/deploy tag=test-qbit-500 |
e4dae83 to
d300032
Compare
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Owner
|
/deploy tag=test-qbit-500 |
Owner
|
/deploy tag=test-qbit-500 |
Owner
|
/deploy tag=test-qbit-500 Deployment Summary
Pull and run the image:docker pull ghcr.io/Doezer/Questarr:$TAG
docker run -d -p 5000:5000 \
-e POSTGRES_PASSWORD=your_password \
-e IGDB_CLIENT_ID=your_client_id \
-e IGDB_CLIENT_SECRET=your_client_secret \
ghcr.io/Doezer/Questarr:$TAG |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


In some UNRAID/Docker setups, qBittorrent returns
Ok.for URL-based torrent add, but Questarr fails immediate verification and then hits a 500 from indexer fallback download, resulting in a false"All downloaders failed"response. This change preserves success semantics when qBittorrent has already accepted the add.Downloader behavior: accepted-but-unverified path
QBittorrentClient.addDownload, track when non-magnet URL add returnsOk.but no torrent is immediately observable..torrentfetch fails afterward, return success (accepted by qBittorrent) instead of surfacing a hard failure.Failure-mode handling
Regression coverage
Ok.→ verification miss → fallback fetch500→ operation treated as accepted.