Unable to Connect to SABNZB, please check yout settings

Something strange is happening here, occasionally any tv shows I have that is being monitored it will sometimes download the episodes and sometime it doesn’t. When it doesn’t I manually click on the search button and it comes up with no match found. I restart the OS and click on the manual search and it tends to pick up the different version. However when no search is found I click on the logs and sure enough it says Unable to connect to SABNZB, please check your setting. But when it does find the different version and I click on one of them to download it downloads fine. I notice my Indexers Min Age and RSS sync was set to 0 so I change it to 15 and Retention is set to 0. Everytime I restart my OS then launch Sonarr and click on the logs I get Unable to connect to SABnzbd even though the test past when I do a test connection. Here is the full log

Details
Message
Unable to connect to SABnzbd, please check your settings: Unable to connect to SABnzbd, please check your settings

Exception
NzbDrone.Core.Download.Clients.DownloadClientException: Unable to connect to SABnzbd, please check your settings —> System.Net.WebException: Unable to connect to the remote server —> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
— End of inner exception stack trace —
at System.Net.HttpWebRequest.GetResponse()
at RestSharp.Http.GetRawResponse(HttpWebRequest request)
at RestSharp.Http.GetResponse(HttpWebRequest request)
— End of inner exception stack trace —
at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.CheckForError(IRestResponse response) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\Sabnzbd\SabnzbdProxy.cs:line 154
at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.ProcessRequest(IRestRequest restRequest, String action, SabnzbdSettings settings) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\Sabnzbd\SabnzbdProxy.cs:line 66
at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.GetHistory(Int32 start, Int32 limit, SabnzbdSettings settings) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\Sabnzbd\SabnzbdProxy.cs:line 108
at NzbDrone.Core.Download.Clients.Sabnzbd.Sabnzbd.GetHistory() in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\Sabnzbd\Sabnzbd.cs:line 106

Is SAB running on the local machine on its default port of 8080? The machine actively refusing the connection usually means its not running and the machine did not allow the connection because nothing was listening.

Can you post ((trace logs)) of a test to that download client on hastebin?

SAB, Couch and Sonarr is on the same PC same network, I am assuming sonarr is loading before SAB does. I have tried changing SAB to 127.0.0.1, 0.0.0.0 and even tried the LAN IP for that PC. SAB is running on Port 8080. Trace log enabled is that what you need?

ask Error: Unable to connect to SABnzbd, please check your settings

Exception
NzbDrone.Core.Download.Clients.DownloadClientException: Unable to connect to SABnzbd, please check your settings —> System.Net.WebException: Unable to connect to the remote server —> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
— End of inner exception stack trace —
at System.Net.HttpWebRequest.GetResponse()
at RestSharp.Http.GetRawResponse(HttpWebRequest request)
at RestSharp.Http.GetResponse(HttpWebRequest request)
— End of inner exception stack trace —
at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.CheckForError(IRestResponse response) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\Sabnzbd\SabnzbdProxy.cs:line 154
at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.ProcessRequest(IRestRequest restRequest, String action, SabnzbdSettings settings) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\Sabnzbd\SabnzbdProxy.cs:line 66
at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.GetConfig(SabnzbdSettings settings) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\Sabnzbd\SabnzbdProxy.cs:line 89
at NzbDrone.Core.Download.Clients.Sabnzbd.Sabnzbd.GetStatus() in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\Sabnzbd\Sabnzbd.cs:line 231
at NzbDrone.Core.HealthCheck.Checks.ImportMechanismCheck.b__0(IDownloadClient v) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\HealthCheck\Checks\ImportMechanismCheck.cs:line 25
at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext() at System.Collections.Generic.List1…ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at NzbDrone.Core.HealthCheck.Checks.ImportMechanismCheck.Check() in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\HealthCheck\Checks\ImportMechanismCheck.cs:line 25
at NzbDrone.Core.HealthCheck.HealthCheckService.b__0(IProvideHealthCheck c) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\HealthCheck\HealthCheckService.cs:line 56
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Collections.Generic.List1…ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at NzbDrone.Core.HealthCheck.HealthCheckService.PerformHealthCheck(Func2 predicate) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\HealthCheck\HealthCheckService.cs:line 55 at NzbDrone.Core.HealthCheck.HealthCheckService.HandleAsync(ApplicationStartedEvent message) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\HealthCheck\HealthCheckService.cs:line 92 at NzbDrone.Core.Messaging.Events.EventAggregator.<>c__DisplayClass31.b__0() in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 72
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()

If this is purely a start up issue, when SAB and Sonarr are both starting at around the same time then its within the realm of possibility that Sonarr starts before SAB and fails to connect, but thats fairly benign and won’t cause any lasting issues unless its failing to connect during an RSS Sync after Sonarr hasn’t run it in some time since it only does a back fill RSS Sync once.

In that case this feature would be beneficial:

If RSS Sync is disabled (set to zero) Sonarr won’t grab anything without you searching for it, as covered in the FAQ.

I assumed I had 2 issues with RSS being set to 0 not sure how it got set to 0 as I know it needs to be set. With Store and Forward was is the solution then if Sonarr loads before Sab?

It should help when an RSS Sync runs before SAB starts, you’d still see some errors in the logs, but nothing should be lost.

okay thank you for all the help

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