Sonarr unable to connect to SABnzbd [Freenas Corral]

Sonarr version: 2.0.0.4645 running in a docker container
Mono Version: 4.2.3
OS: Freenas Corral
Debug logs: https://hastebin.com/qocanetiku.css

Description of issue
Whenever i try to set SABnzbd (which is running as a docker container on the same machine) as my download client in Sonarr, it gives me the following error: “Test was aborted due to an error. Unable to connect to SABnzbd, please check your setting” I can see in the debug logs, that it’s saying: connection refused, but i have no clue what is causing this. SABnzbd seems to be running fine. Both SABnzbd and Sonarr are running on IP: 192.168.0.106. Sonarr port: 8989, SABnzbd port: 8080

That means something (firewall, host, etc) blocked the communication. Since SAB and Sonarr are on the same machine localhost instead of the IP may work.

Some other threads on the same subject may give you some more ideas:

https://forums.sonarr.tv/search?q=Connection%20refused%20order%3Alatest

Thanks for the reply!
I tried localhost, but the same error persists. Are there ways to check if it’s a firewall / host related thing? I don’t believe there is a firewall running inside Freenas Corral

You’re able to connect to SAB in a browser and configure it?
In SAB’s General settings what is SABnzbd Host set to?

Yea i am able to connect and configure SAB. I am connecting using the ip and port:192.168.0.108:8080
The SAB “General settings” look like:

https://docs.docker.com/engine/userguide/networking/default_network/container-communication/ might be of some use, beyond that, I"m not sure what else could be blocking it, but it’s something outside of Sonarr’s control.

Thanks for the help markus, i managed to get it fixed by using the following IP: 172.17.0.1 Still not exactly sure why i had to use this ip adress. Although Sonarr does now recognize SAB, it seems to be unable to move the tv show to the correct folder after SAB is done downloading.

From the Sonarr logs i can see this error:

Import failed, path does not exist or is not accessible by Sonarr: /config/Downloads/complete/tv shows/Prison.Break.S05E02.1080p.WEB-DL.DD5.1.H264-RARBG

In the Sonarr docker i have the following volumes setup:
Local Path → Container Path
/mnt/Vol1/media/downloads → /downloads
/mnt/Vol1/media/tv shows → /tv
/mnt/Vol1/containers/sonarr/config → /config

In SABnzbd it’s like this:
Local Path → Container Path
/mnt/Vol1/containers/sabnzbd/config → /config
/mnt/Vol1/containers/sabnzbd/config/certs → /config/admin/certs
/mnt/Vol1/media/downloads/complete → /config/Downloads/complete
/mnt/Vol1/media/downloads/incomplete → /config/Downloads/incomplete
/mnt/Vol1/media/downloads/watched → /config/Downloads/watched
/mnt/Vol1/media/downloads → /downloads

Added some screenshots to get the clear picture of my current situation:




Any ideas what i did wrong?

FIXED! :smiley:
From within SABnzbd --> settings --> folders i changed the completed download folder to: /downloads
and you have to make sure that all the volume paths (Sonarr,Radarr,SABnzbd) are pointing to the same directory.
i pointed them to /mnt/media/downloads/complete (but ofc you can change it to whatever you prefer, just keep in mind all three have to be the same). Now Sonarr is able to import and rename the tv shows to the correct folder in media/tv shows.

1 Like

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