Sonarr version (exact version): 2.0.0.5338
Mono version (if Sonarr is not running on Windows): 6.0.0
OS: Endeavour OS (Arch based)
Debug logs: Will attach later tonight or tomorrow
Description of issue: Fresh install of Endeavour OS/Plex/Radarr/Sonarr/NZBGet. I’m running Sonarr under my account (override.conf) and have this in the sonarr.service file:
ExecStartPre=/bin/sleep 10
ExecStart=/usr/bin/sonarr -nobrowser -data=/var/lib/sonarr
I tried putting that sleep in there to give NZBGet plenty of time to launch but even with that, Sonarr still complains that it can’t reach NZBGet. I’m running NZBGet and Radarr via ‘Startup Applications’ app with a 2 second delay on them during startup. I’m not using any firewall on this box and naturally, before I installed Endeavour OS, I did all this in a virtual machine and it worked without a problem. Maybe I should switch Sonarr from systemd to also using the ‘Startup Applications’ app?!
Relevant error:
Unable to retrieve queue and history items from NZBGet: Unable to connect to NzbGet. Error: ConnectFailure (Connection refused): 'http://localhost:6789/jsonrpc'
Exception
NzbDrone.Core.Download.Clients.DownloadClientUnavailableException: Unable to connect to NzbGet. Error: ConnectFailure (Connection refused): 'http://localhost:6789/jsonrpc' ---> System.Net.WebException: Error: ConnectFailure (Connection refused): 'http://localhost:6789/jsonrpc' ---> System.Net.WebException: Error: ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException: Connection refused
at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedException () [0x00014] in <6cdca0a9888f4fbb924ec1a85a44e21f>:0
at System.Net.Sockets.Socket.EndConnect (System.IAsyncResult asyncResult) [0x0002c] in <6cdca0a9888f4fbb924ec1a85a44e21f>:0
at System.Net.Sockets.SocketTaskExtensions+<>c.<ConnectAsync>b__2_1 (System.IAsyncResult asyncResult) [0x00006] in <6cdca0a9888f4fbb924ec1a85a44e21f>:0
at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00019] in <2bb2a3c16be44c27b227e9d836c322af>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Net.WebConnection.Connect (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x0019b] in <6cdca0a9888f4fbb924ec1a85a44e21f>:0
--- End of inner exception stack trace ---
at System.Net.WebConnection.Connect (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x00217] in <6cdca0a9888f4fbb924ec1a85a44e21f>:0
at System.Net.WebConnection.InitConnection (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x000cc] in <6cdca0a9888f4fbb924ec1a85a44e21f>:0
at System.Net.WebOperation.Run () [0x0009a] in <6cdca0a9888f4fbb924ec1a85a44e21f>:0
at System.Net.WebCompletionSource`1[T].WaitForCompletion () [0x00094] in <6cdca0a9888f4fbb924ec1a85a44e21f>:0
at System.Net.HttpWebRequest.GetRequestStream () [0x00016] in <6cdca0a9888f4fbb924ec1a85a44e21f>:0
at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x000ef] in <76bdc4530d5346bba006f54e6ddfeb8a>:0
--- End of inner exception stack trace ---
at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x001f6] in <76bdc4530d5346bba006f54e6ddfeb8a>:0
at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x000b5] in <76bdc4530d5346bba006f54e6ddfeb8a>:0
at NzbDrone.Common.Http.HttpClient.ExecuteRequest (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookieContainer) [0x0007e] in <76bdc4530d5346bba006f54e6ddfeb8a>:0
at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00008] in <76bdc4530d5346bba006f54e6ddfeb8a>:0
at NzbDrone.Core.Download.Clients.Nzbget.NzbgetProxy.ProcessRequest[T] (NzbDrone.Core.Download.Clients.Nzbget.NzbgetSettings settings, System.String method, System.Object[] parameters) [0x00037] in <808631c82f974aa9ade775cc9d46232a>:0
--- End of inner exception stack trace ---
at NzbDrone.Core.Download.Clients.Nzbget.NzbgetProxy.ProcessRequest[T] (NzbDrone.Core.Download.Clients.Nzbget.NzbgetSettings settings, System.String method, System.Object[] parameters) [0x00096] in <808631c82f974aa9ade775cc9d46232a>:0
at NzbDrone.Core.Download.Clients.Nzbget.NzbgetProxy.GetGlobalStatus (NzbDrone.Core.Download.Clients.Nzbget.NzbgetSettings settings) [0x00000] in <808631c82f974aa9ade775cc9d46232a>:0
at NzbDrone.Core.Download.Clients.Nzbget.Nzbget.GetQueue () [0x0000c] in <808631c82f974aa9ade775cc9d46232a>:0
at NzbDrone.Core.Download.Clients.Nzbget.Nzbget.GetItems () [0x00000] in <808631c82f974aa9ade775cc9d46232a>:0
at NzbDrone.Core.Download.TrackedDownloads.DownloadMonitoringService.ProcessClientDownloads (NzbDrone.Core.Download.IDownloadClient downloadClient) [0x0000c] in <808631c82f974aa9ade775cc9d46232a>:0