Page 1 of 1

SABNZB wont accept login from local sickbeard

Posted: February 5th, 2011, 11:39 am
by omegadcuk
Hi all,

I am running on Windows 7+windows firewall, with latest version of SabNzbd 0.5.6.  I recently re-installed Windows onto another drive and copied SABNZB, and sickbeard back onto it, I also copied all settings from Users\Dave and everything seems to work except that I can't get SAB to accept sickbeard downloads any more.  The error im getting is:

Code: Select all

2011-02-05 14:32:58,819::WARNING::[interface:219] API Key missing, please enter the api key from Config->General into your 3rd party program:
Have followed those instructions, even re-entered all of my login information into sickbeard and SAB, tried un-installing, re-installing, generating a new API key, reboot, putting it into sickbeard, making sure login in sickbeard is correct and finally disabling the API-Key.

The log file is below:

Code: Select all

2011-02-05 16:24:39,211
WARNING:
API Key missing, please enter the api key from Config->General into your 3rd party program:


2011-02-05 14:32:42,786::INFO::[sabnzbd:974] SABnzbd.exe-0.5.6 (rev=2503)
2011-02-05 14:32:42,802::INFO::[sabnzbd:982] Platform=Windows-Vista-6.1.7600 (=Vista+) Class=nt
2011-02-05 14:32:42,802::INFO::[sabnzbd:985] Python-version = 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
2011-02-05 14:32:42,818::INFO::[__init__:702] C:\Users\dave\AppData\Local\sabnzbd\cache\bookmarks.sab removed
2011-02-05 14:32:42,818::INFO::[postproc:139] Loading postproc queue
2011-02-05 14:32:42,834::INFO::[__init__:702] C:\Users\dave\AppData\Local\sabnzbd\cache\postproc1.sab removed
2011-02-05 14:32:42,834::INFO::[downloader:334] Resuming
2011-02-05 14:32:42,834::INFO::[__init__:251] All processes started
2011-02-05 14:32:42,834::INFO::[sabnzbd:269] Web dir is C:\Program Files\SABnzbd\interfaces\Plush
2011-02-05 14:32:42,848::INFO::[sabnzbd:1038] Starting SABnzbd.exe-0.5.6
2011-02-05 14:32:42,848::INFO::[dirscanner:375] Dirscanner starting up
2011-02-05 14:32:42,848::INFO::[sabnzbd:390] _yenc module... found!
2011-02-05 14:32:42,848::INFO::[urlgrabber:103] URLGrabber starting up
2011-02-05 14:32:42,848::INFO::[sabnzbd:398] par2 binary... found (C:\Program Files\SABnzbd\win\par2\par2.exe)
2011-02-05 14:32:42,848::INFO::[sabnzbd:403] par2-classic binary... found (C:\Program Files\SABnzbd\win\par2\par2-classic.exe)
2011-02-05 14:32:42,848::INFO::[sabnzbd:406] unrar binary... found (C:\Program Files\SABnzbd\win\unrar\UnRAR.exe)
2011-02-05 14:32:42,848::INFO::[sabnzbd:411] unzip binary... found (C:\Program Files\SABnzbd\win\unzip\unzip.exe)
2011-02-05 14:32:42,848::INFO::[sabnzbd:426] pyOpenSSL... found (True)
2011-02-05 14:32:42,848::INFO::[sabnzbd:1136] Starting web-interface on localhost:8080
2011-02-05 14:32:44,864::INFO::[_cplogging:55] [05/Feb/2011:14:32:44] ENGINE Bus STARTING
2011-02-05 14:32:44,865::INFO::[_cplogging:55] [05/Feb/2011:14:32:44] ENGINE Started monitor thread '_TimeoutMonitor'.
2011-02-05 14:32:45,089::WARNING::[interface:219] API Key missing, please enter the api key from Config->General into your 3rd party program:
2011-02-05 14:32:45,092::WARNING::[interface:219] API Key missing, please enter the api key from Config->General into your 3rd party program:
2011-02-05 14:32:45,168::INFO::[_cplogging:55] [05/Feb/2011:14:32:45] ENGINE Serving on localhost:8080
2011-02-05 14:32:45,168::INFO::[_cplogging:55] [05/Feb/2011:14:32:45] ENGINE Bus STARTED
2011-02-05 14:32:45,168::INFO::[misc:584] Lauching browser with http://localhost:8080/sabnzbd
2011-02-05 14:32:57,822::INFO::[rss:376] Running scheduled RSS scan
2011-02-05 14:32:58,819::WARNING::[interface:219] API Key missing, please enter the api key from Config->General into your 3rd party program:
2011-02-05 14:32:58,822::WARNING::[interface:219] API Key missing, please enter the api key from Config->General into your 3rd party program:

Re: SABNZB wont accept login from local sickbeard

Posted: February 5th, 2011, 12:27 pm
by omegadcuk
hmmm, it appears to be downloading episodes etc. just that the log is constantly showing the error every couple of seconds or so..

Re: SABNZB wont accept login from local sickbeard

Posted: February 5th, 2011, 2:30 pm
by shypike
The error means that some program is trying to access SABnzbd automation interface.
Maybe it's SickBeard and you didn't give SickBeard the API-key that SABnzbd needs.
You can find it in SABnzbd's Config->General page (it's the long random text).

Re: SABNZB wont accept login from local sickbeard

Posted: February 7th, 2011, 12:29 pm
by mhale62
Hi all,
Stuck user here; I had SickBeard & SABnzbd+ working and I've blown it somehow i.e., I can't even figure what host/port to use for SAB.

My iMac's local IP: 192.168.1.66, I haven't changed the port setting (8080) and SickBeard's port is 8081

I d/led a fresh copy of SAB and ran the Setup Wizard successfully, but clicking a "download .nzb" link fails to initiate a d/l  ???

Much obliged,
Michael

Re: SABNZB wont accept login from local sickbeard

Posted: February 7th, 2011, 1:39 pm
by shypike
Are you able to connect to SABnzbd with a web browser?
If so, through which address and port?
Did you tell SickBeard the right api-key (Config->General)?

Re: SABNZB wont accept login from local sickbeard

Posted: February 7th, 2011, 3:07 pm
by mhale62
Are you able to connect to SABnzbd with a web browser?
No.
If so, through which address and port?
Did you tell SickBeard the right api-key (Config->General)?
I generated a new api-key in SAB and gave it to SickBeard and restarted both apps, Sickbeard loads, SAB doesn't…

Re: SABNZB wont accept login from local sickbeard

Posted: February 7th, 2011, 3:23 pm
by shypike
You need to start SABnzbd too.

Re: SABNZB wont accept login from local sickbeard

Posted: February 7th, 2011, 3:39 pm
by mhale62
SAB is running on:

Code: Select all

http://0.0.0.0:8080/
and I can connect via Firefox

It and SickBeard:

Code: Select all

http://localhost:8081/home/
fail to communicate…

I expect it's something obvious, just not to me  ;)

Re: SABNZB wont accept login from local sickbeard

Posted: February 7th, 2011, 5:48 pm
by shypike
It looks like you're using port 8080 for Firefox and 8081 for SickBeard.
That won't work.
If Firefox uses localhost:8080 and it works, the SickBeard should use localhost:8080 too.

Re: SABNZB wont accept login from local sickbeard

Posted: February 7th, 2011, 5:53 pm
by mhale62
My setup is SickBeard:

Code: Select all

http://localhost:8081/home/
SABnzbd:

Code: Select all

http://localhost:8080/sabnzbd/
Obviously this is wrong but IDK how to fix it.

Re: SABNZB wont accept login from local sickbeard

Posted: February 8th, 2011, 3:22 am
by shypike
Sorry, my fault!
Sickbeard runs on port 8081 and SABnzbd on 8080.
Nothing wrong with that, in fact they need separate ports.
What I meant to say is that SickBeard needs to know that SABnzbd is using port 8080.
Did you set that up properly?

Re: SABNZB wont accept login from local sickbeard

Posted: February 8th, 2011, 10:22 am
by mhale62
shypike wrote: *snip*
What I meant to say is that SickBeard needs to know that SABnzbd is using port 8080.
Did you set that up properly?
Pretty sure, here's a screenshot of SB's Episode Downloads config:

Whoops, I can't attach a .jpg; why is that??

Re: SABNZB wont accept login from local sickbeard

Posted: February 8th, 2011, 10:33 am
by shypike
0.0.0.0 is not a usable IP address to contact SABnzbd (or any other service).
You can tell SABnzbd to use it, but it's a code for "listen on localhost and the IP address".
So, you need to tell SickBeard to use localhost:8080

Re: SABNZB wont accept login from local sickbeard

Posted: February 8th, 2011, 11:24 am
by mhale62
shypike wrote: 0.0.0.0 is not a usable IP address to contact SABnzbd (or any other service).
You can tell SABnzbd to use it, but it's a code for "listen on localhost and the IP address".
So, you need to tell SickBeard to use localhost:8080
Thanks, I've changed SB's setting, I'll let you know how it works out.