EDIT: Setting it to browse to 127.0.0.1
(as opposed to localhost
) resolved the issue, pinging localhost
was trying to reach the IPv6 address which was blocked by my iptables/firewall rules.
I’m setting up Sonarr for the first time and am having trouble configuring qBittorrent as my download client.
I think it’s trying to access http://localhost:port/login
, however when I try that address in my browser, I just get a ‘failed’ message (not 404, just the word failed). Going to http://localhost:port/
in a browser works fine from the machine.
Has anyone else been able to setup the latest qBittorrent as their client? Or is this something I should be submitting as an issue on GitHub?
Sonarr Version: 2.0.0.5085
Mono Version: 4.6.2
Debian Sid
My logs are as follows:
18-1-20 13:33:52.6|Error|QBittorrent|Unable to test qBittorrent
[v2.0.0.5085] NzbDrone.Core.Download.Clients.DownloadClientUnavailableException: Failed to connect to qBittorrent, please check your settings. ---> System.Net.WebException: The request timed out: 'http://localhost:6969/login' ---> System
.Net.WebException: The request timed out
at System.Net.HttpWebRequest.GetRequestStream () [0x00056] in <bd46d4d4f7964dfa9beea098499ab597>:0
at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x000ca] in <28afedda32c5499dab128da6b50bbb86>:0
--- End of inner exception stack trace ---
at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x001ca] in <28afedda32c5499dab128da6b50bbb86>:0
at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x000b5] in <28afedda32c5499dab128da6b50bbb86>:0
at NzbDrone.Common.Http.HttpClient.ExecuteRequest (NzbDrone.Common.Http.HttpRequest request) [0x0007e] in <28afedda32c5499dab128da6b50bbb86>:0
at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00000] in <28afedda32c5499dab128da6b50bbb86>:0
at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxy.AuthenticateClient (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings, System.Boolean reauthen
ticate) [0x000a4] in <ab54b7a85b364e7591653180d377c256>:0
--- End of inner exception stack trace ---
at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxy.AuthenticateClient (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings, System.Boolean reauthen
ticate) [0x00100] in <ab54b7a85b364e7591653180d377c256>:0
at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxy.ProcessRequest (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings) [0x00000] in <ab54b7a85b364
e7591653180d377c256>:0
at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxy.ProcessRequest[TResult] (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings) [0x00000] in <ab54
b7a85b364e7591653180d377c256>:0
at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxy.GetVersion (NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentSettings settings) [0x00012] in <ab54b7a85b364e7591653180d377c256>:0
at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrent.TestConnection () [0x0000c] in <ab54b7a85b364e7591653180d377c256>:0
18-1-20 13:33:52.6|Warn|NzbDroneErrorPipeline|Invalid request Validation failed:
-- Unknown exception: Failed to connect to qBittorrent, please check your settings.