Page 1 of 1
Connection errors
Posted: May 23rd, 2013, 10:27 pm
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?
Re: Connection errors
Posted: May 23rd, 2013, 10:41 pm
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>
Re: Connection errors
Posted: May 23rd, 2013, 11:19 pm
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
Re: Connection errors
Posted: May 24th, 2013, 2:44 am
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
Re: Connection errors
Posted: May 24th, 2013, 5:17 am
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.