Sonarr - Can not add localhost Download Clients

thxtex

Dabbler
Joined
Dec 8, 2017
Messages
27
I’m setting up my new server and try to add NzbGet / Transmission as download clients. The 2 download clients are installed In separate jails and both have been tested and webgui works. They are setup as NAT and I can access them in a browser using server IP and the corresponding port number.

When I try to add them in Sonarr as a download client I get the following.
sonarr2.png


Logfile/debug shows shows the following.
Code:
2024-03-05 16:46:51.3|Error|Nzbget|Test aborted due to exception

[v4.0.2.1183] NzbDrone.Core.Download.Clients.DownloadClientUnavailableException: Unable to connect to NzbGet. Connection refused (192.168.1.72:6789)
 ---> System.Net.Http.HttpRequestException: Connection refused (192.168.1.72:6789)
 ---> System.Net.Sockets.SocketException (61): Connection refused
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.attemptConnection(AddressFamily addressFamily, SocketsHttpConnectionContext context, CancellationToken cancellationToken) in ./Sonarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 310
   at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.onConnect(SocketsHttpConnectionContext context, CancellationToken cancellationToken) in ./Sonarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 286
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.AuthenticationHelper.SendWithAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean preAuthenticate, Boolean isProxyAuth, Boolean doRequestAuth, HttpConnectionPool pool, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponseAsync(HttpRequest request, CookieContainer cookies) in ./Sonarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 107
   at NzbDrone.Common.Http.HttpClient.ExecuteRequestAsync(HttpRequest request, CookieContainer cookieContainer) in ./Sonarr.Common/Http/HttpClient.cs:line 157
   at NzbDrone.Common.Http.HttpClient.ExecuteAsync(HttpRequest request) in ./Sonarr.Common/Http/HttpClient.cs:line 70
   at NzbDrone.Common.Http.HttpClient.Execute(HttpRequest request) in ./Sonarr.Common/Http/HttpClient.cs:line 128
   at NzbDrone.Core.Download.Clients.Nzbget.NzbgetProxy.ProcessRequest[T](NzbgetSettings settings, String method, Object[] parameters) in ./Sonarr.Core/Download/Clients/Nzbget/NzbgetProxy.cs:line 252
   --- End of inner exception stack trace ---
   at NzbDrone.Core.Download.Clients.Nzbget.NzbgetProxy.ProcessRequest[T](NzbgetSettings settings, String method, Object[] parameters) in ./Sonarr.Core/Download/Clients/Nzbget/NzbgetProxy.cs:line 252
   at NzbDrone.Core.Download.Clients.Nzbget.NzbgetProxy.GetConfig(NzbgetSettings settings) in ./Sonarr.Core/Download/Clients/Nzbget/NzbgetProxy.cs:line 160
   at NzbDrone.Core.Download.Clients.Nzbget.Nzbget.TestCategory() in ./Sonarr.Core/Download/Clients/Nzbget/Nzbget.cs:line 305
   at NzbDrone.Core.Download.Clients.Nzbget.Nzbget.Test(List`1 failures) in ./Sonarr.Core/Download/Clients/Nzbget/Nzbget.cs:line 269
   at NzbDrone.Core.Download.DownloadClientBase`1.Test() in ./Sonarr.Core/Download/DownloadClientBase.cs:line 153

2024-03-05 16:46:51.4|Warn|SonarrErrorPipeline|Invalid request Validation failed:
 -- Host: Unable to connect to NZBGet
 -- : Test was aborted due to an error: Unable to connect to NzbGet. Connection refused (192.168.1.72:6789)
2024-03-05 16:46:51.4|Debug|Api|[POST] /api/v3/downloadclient/test: 400.BadRequest (25 ms)
2024-03-05 16:46:56.4|Debug|Api|[GET] /api/v3/health: 200.OK (0 ms)
2024-03-05 16:47:00.0|Debug|Api|[GET] /api/v3/health: 200.OK (1 ms)
2024-03-05 16:47:00.0|Debug|Api|[GET] /api/v3/system/status: 200.OK (4 ms)
2024-03-05 16:47:00.0|Debug|Api|[GET] /api/v3/diskspace: 200.OK (6 ms)
2024-03-05 16:47:01.8|Debug|Api|[GET] /api/v3/log/file: 200.OK (3 ms)
2024-03-05 16:47:04.1|Info|Sonarr.Http.Authentication.BasicAuthenticationHandler|Basic was not authenticated. Failure message: Authorization header missing.


192.168.1.72 is the server adress.
Trying to add NzbGet which is running on my old server which also TrueNAS CORE seems to work fine. On the old server all jails were using different IP adresses. I get the same exact message when trying to add Transmission. Jails on new server are all installed using own created scripts.
 
Top