Cannot connect to qbittorrent

**Sonarr version: just downloaded it an hour ago so latest!*:
Mono version (if Sonarr is not running on Windows):
win 7 64 bit:
**17-7-7 22:29:41.1|Trace|Http|Req: 130 [POST] /api/downloadclient
17-7-7 22:29:41.1|Trace|HttpClient|Req: [POST] http://localhost:8083/login: username=gom&password=(removed)
17-7-7 22:29:41.2|Trace|ConfigService|Using default config value for ‘proxyenabled’ defaultValue:'False’
17-7-7 22:29:41.2|Trace|HttpClient|Res: [POST] http://localhost:8083/login: 401.Unauthorized (10 ms)
17-7-7 22:29:41.2|Trace|HttpClient|Response content (0 bytes):
17-7-7 22:29:41.2|Warn|HttpClient|HTTP Error - Res: [POST] http://localhost:8083/login: 401.Unauthorized
17-7-7 22:29:41.2|Debug|QBittorrentProxy|qbitTorrent authentication failed.
17-7-7 22:29:41.2|Error|QBittorrent|Unable to test qBittorrent

[v2.0.0.4855] NzbDrone.Core.Download.Clients.DownloadClientException: Failed to connect to qBitTorrent, please check your settings. —> NzbDrone.Common.Http.HttpException: HTTP request failed: [401:Unauthorized] [POST] at [http://localhost:8083/login]
at NzbDrone.Common.Http.HttpClient.Execute(HttpRequest request) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Http\HttpClient.cs:line 106
at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxy.AuthenticateClient(HttpRequestBuilder requestBuilder, QBittorrentSettings settings, Boolean reauthenticate) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxy.cs:line 215
— End of inner exception stack trace —
at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxy.AuthenticateClient(HttpRequestBuilder requestBuilder, QBittorrentSettings settings, Boolean reauthenticate) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxy.cs:line 225
at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxy.ProcessRequest[TResult](HttpRequestBuilder requestBuilder, QBittorrentSettings settings) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxy.cs:line 156
at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxy.GetVersion(QBittorrentSettings settings) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxy.cs:line 45
at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrent.TestConnection() in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrent.cs:line 191
**:
(Make sure debug logging is enabled in settings and post the full log to hastebin/pastebin/dropbox/google drive or something similar, do not post them directly here)

I cannot connect to qbittorrent. I have it set up through the web ui and can connnect via the browser to qbittorrent with the settings I am using but not through sonarr. I also tried qbittorrent 3.1.10 and 3.1.12

Username or password is wrong, or it wasn’t downgraded properly. 3.3.13 will not work and will result in this exact error.

Next time, please post the logs elsewhere and link them here…

After installing qbit 3.1.12 restart Sonarr.

Yup that was the problem. Qbit wasnt uninstalling completely. I stripped it out and reinstalled and it tested fine.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.