BUG: Permanent qBittorrent Sync API Fallback Degradation #29

Closed
opened 2026-05-22 15:39:43 +01:00 by Gandalf · 1 comment
Owner

When a transient qBittorrent query failure occurs during active background polling, the client falls back to legacy mode. However, the background poller uses getDownloadsByClientType() which fails to call resetFallbackFlag(), stucking the client in legacy list queries permanently until restarted.

When a transient qBittorrent query failure occurs during active background polling, the client falls back to legacy mode. However, the background poller uses getDownloadsByClientType() which fails to call resetFallbackFlag(), stucking the client in legacy list queries permanently until restarted.
Gandalf added the Kind/Bug label 2026-05-22 15:41:15 +01:00
Author
Owner

Resolution: Patched server/utils/downloadClients.js to call client.resetFallbackFlag() on qBittorrent clients within the getDownloadsByClientType() loop (matching the getAllDownloads() behavior). Added a unit test in downloadClients.test.js to verify this fallback flag reset on polling routes.

Resolution: Patched server/utils/downloadClients.js to call client.resetFallbackFlag() on qBittorrent clients within the getDownloadsByClientType() loop (matching the getAllDownloads() behavior). Added a unit test in downloadClients.test.js to verify this fallback flag reset on polling routes.
Gandalf added the Area/Download Clients label 2026-05-28 11:57:15 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gandalf/sofarr#29