Connecting sonarr to sabnzbd on ubuntu 14.04

Trying to add SABnzbd as the download client to Sonarr (both on the same machine running Ubuntu 14.04) but receive the following error:

Test was aborted due to an error: Unable to connect to SABnzbd, please check your settings.

From the system logs:

    NzbDrone.Core.Download.Clients.DownloadClientException: Unable to connect to SABnzbd, please check your settings ---> System.Net.WebException: Error: SendFailure (Error writing headers) ---> System.Net.WebException: Error writing headers ---> System.Net.Sockets.SocketException: The socket has been shut down
  at System.Net.Sockets.Socket.EndSend (IAsyncResult result) [0x00000] in <filename unknown>:0 
  at System.Net.Sockets.NetworkStream.EndWrite (IAsyncResult ar) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
  at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0 
  at RestSharp.Http.GetRawResponse (System.Net.HttpWebRequest request) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.CheckForError (IRestResponse response) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.ProcessRequest (IRestRequest restRequest, System.String action, NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdSettings settings) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdProxy.GetVersion (NzbDrone.Core.Download.Clients.Sabnzbd.SabnzbdSettings settings) [0x00000] in <filename unknown>:0 
  at NzbDrone.Core.Download.Clients.Sabnzbd.Sabnzbd.TestConnection () [0x00000] in <filename unknown>:0 

I’m definitely inputting the right username, password, host location (localhost), and port for sabnzbd (8080). I installed sabnzbd from the ppa repo for ubuntu, though the latest version for ubuntu 14.04 seems to be sabnzbd 0.7.16.

Any ideas?

Which version of Sonarr?
Which version of mono?
Mono also needs to be run with the --debug switch.

Sonarr Version 2.0.0.3530
Mono Version 3.10.0 (tarball Wed Nov 5 12:50:04 UTC 2014)

Is there a particular file I should add the --debug switch to?

Also I should double check that I have mono properly installed, because on mono’s site it says “Regardless of your distribution, you will need the Mono Project GPG signing key, which package managers require.” and I did recently remove a GPG key not knowing what it was for, it could have been the one for mono. Will double check this tonight.

You run mono with that switch, instead of mono NzbDrone.exe it would be mono --debug NzbDrone.exe.

The connection from Sonarr to SAB is failing, are you using SSL to connect to SAB? If so, does HTTP work?

That was the issue! I enabled the SSL toggle, but forgot to enable https on sabnzbd. Thanks.

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