Connection errors

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Erebus671
Newbie
Newbie
Posts: 15
Joined: May 23rd, 2013, 2:22 am

Connection errors

Post by Erebus671 »

I recently changed the port numbers on my SAB, for a while I was using HTTPS on port 9095 with a username and password, I changed my port to 8082 and removed the username and password, I adjusted the settings on both Sickbeard and Couch Potato to match, now I'm having some problems, Couch Potato doesn't snatch properly anymore and Sickbeard shows "Unable to connect to host" when I try to test the connection in the Sickbeard settings. I even tried generating a new API key and putting it into Couch Potato and Sickbeard, I still cannot get it to work properly. Any suggestions?
Erebus671
Newbie
Newbie
Posts: 15
Joined: May 23rd, 2013, 2:22 am

Re: Connection errors

Post by Erebus671 »

Below is the last few entries from my couch potato log.

Code: Select all

05-23 18:57:11 ERROR [.core.downloaders.sabnzbd] Failed getting queue: Traceback (most recent call last):
  File "C:\Users\Joseph McCrocklin\AppData\Roaming\CouchPotato\application\appdata\CouchPotato-2.0.8.win32\couchpotato\core\downloaders\sabnzbd\main.py", line 68, in getAllDownloadStatus
URLError: <urlopen error [Errno 10061] No connection could be made because the target machine actively refused it>
05-23 18:58:09 INFO [hpotato.core.plugins.base] Opening url: https://localhost:9095/api?output=json&apikey=xxx&mode=queue, params: []05-23 18:58:11 ERROR [.core.downloaders.sabnzbd] Failed getting queue: Traceback (most recent call last):
  File "C:\Users\Joseph McCrocklin\AppData\Roaming\CouchPotato\application\appdata\CouchPotato-2.0.8.win32\couchpotato\core\downloaders\sabnzbd\main.py", line 68, in getAllDownloadStatus
URLError: <urlopen error [Errno 10061] No connection could be made because the target machine actively refused it>
05-23 18:59:09 INFO [hpotato.core.plugins.base] Opening url: https://localhost:9095/api?output=json&apikey=xxx&mode=queue, params: []05-23 18:59:11 ERROR [.core.downloaders.sabnzbd] Failed getting queue: Traceback (most recent call last):
  File "C:\Users\Joseph McCrocklin\AppData\Roaming\CouchPotato\application\appdata\CouchPotato-2.0.8.win32\couchpotato\core\downloaders\sabnzbd\main.py", line 68, in getAllDownloadStatus
URLError: <urlopen error [Errno 10061] No connection could be made because the target machine actively refused it>
05-23 19:00:09 INFO [hpotato.core.plugins.base] Opening url: https://localhost:9095/api?output=json&apikey=xxx&mode=queue, params: []05-23 19:00:11 ERROR [.core.downloaders.sabnzbd] Failed getting queue: Traceback (most recent call last):
  File "C:\Users\Joseph McCrocklin\AppData\Roaming\CouchPotato\application\appdata\CouchPotato-2.0.8.win32\couchpotato\core\downloaders\sabnzbd\main.py", line 68, in getAllDownloadStatus
URLError: <urlopen error [Errno 10061] No connection could be made because the target machine actively refused it>
05-23 19:01:09 INFO [hpotato.core.plugins.base] Opening url: https://localhost:9095/api?output=json&apikey=xxx&mode=queue, params: []05-23 19:01:11 ERROR [.core.downloaders.sabnzbd] Failed getting queue: Traceback (most recent call last):
  File "C:\Users\Joseph McCrocklin\AppData\Roaming\CouchPotato\application\appdata\CouchPotato-2.0.8.win32\couchpotato\core\downloaders\sabnzbd\main.py", line 68, in getAllDownloadStatus
URLError: <urlopen error [Errno 10061] No connection could be made because the target machine actively refused it>
05-23 19:02:09 INFO [hpotato.core.plugins.base] Opening url: https://localhost:9095/api?output=json&apikey=xxx&mode=queue, params: []05-23 19:02:11 ERROR [.core.downloaders.sabnzbd] Failed getting queue: Traceback (most recent call last):
  File "C:\Users\Joseph McCrocklin\AppData\Roaming\CouchPotato\application\appdata\CouchPotato-2.0.8.win32\couchpotato\core\downloaders\sabnzbd\main.py", line 68, in getAllDownloadStatus
URLError: <urlopen error [Errno 10061] No connection could be made because the target machine actively refused it>
Erebus671
Newbie
Newbie
Posts: 15
Joined: May 23rd, 2013, 2:22 am

Re: Connection errors

Post by Erebus671 »

This is my Sickbeard log

Code: Select all

2013-05-24 13:17:13.466000 CP Server Thread-10 :: Unable to connect to SAB: socket error
2013-05-24 13:17:14.176000 CP Server Thread-10 :: Unable to connect to SAB: socket error
2013-05-24 13:18:40.951000 CP Server Thread-10 :: Unable to connect to SAB: socket error
2013-05-24 14:19:04.827000 CP Server Thread-5 :: Unable to connect to SAB: socket error
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: Connection errors

Post by jcfp »

Erebus671 wrote:I was using HTTPS on port 9095 [...] I changed my port to 8082 [...] I adjusted the settings on both Sickbeard and Couch Potato to match
...that's how it should be done, but the logging tells a different story with cp still using 9095:
Erebus671 wrote:my couch potato log.

Code: Select all

[...]No connection could be made because the target machine actively refused it [...]
url: https://localhost:9095
Erebus671
Newbie
Newbie
Posts: 15
Joined: May 23rd, 2013, 2:22 am

Re: Connection errors

Post by Erebus671 »

Thanks for pointing that out, I took a look at my settings again and when I changed the port number I failed to change the "https" to "http" so even though my settings read it as "https://localhost:8080" it was still sending to 9095. I didn't catch that until you said CP was still using 9095. Thanks man.
Post Reply