Page 1 of 1

Cannot access SABNZB WebUI remotely, API remotely works

Posted: June 11th, 2016, 10:05 pm
by jbot747
Hey everyone,

Just started using SABNzb a few weeks ago, and the only thing thats bugging me is that its the only daemon I cant seem to hit the admin page / web UI through my firewall when coming in from a remote host on the internet. Not sure if it's by design, I have set username/password, change the listening IP to 0.0.0.0, 192.168.1.101 (server IP) and no matter what, whether I use the SSL or not (both 8080 and 9090 are forwarded through to 192.168.1.101) I get the following error page-

400 Bad Request

Illegal cookie name wanted_view

Traceback (most recent call last):
File "cherrypy\_cprequest.pyo", line 635, in respond
File "cherrypy\_cprequest.pyo", line 737, in process_headers
HTTPError: (400, 'Illegal cookie name wanted_view')
Powered by CherryPy 3.8.0

Has anyone seen this before? BTW, what am I supposed to set the 'List of local network ranges' to-

192.168.1.1-192.168.1.254

or just 192.168.1.0/24, or 192.168.1. like in the example? I have 'External internet access' set to Full web interface, and have tried everything and just cannot get to the web UI unless I am at home, or RDP into my server.

TIA!
-Jon

Re: Cannot access SABNZB WebUI remotely, API remotely works

Posted: June 12th, 2016, 12:42 am
by sander
Some remarks/questions. Please follow up to all:

Just use 0.0.0.0 as SABnzbd listening host
Do NOT fill out 'List of local network ranges'
Are you using Sickbeard?
"cannot get to the web UI unless I am at home,": ah, so you can access SAB's WebGUI from other devices on your LAN?

Re: Cannot access SABNZB WebUI remotely, API remotely works

Posted: June 12th, 2016, 5:13 pm
by jbot747
Thanks for the quick reply. Have tried those settings, but went ahead tried again-

https://drive.google.com/file/d/0B3AIBD ... sp=sharing

I can access the site using http://127.0.0.1:8080/sabnzbd, and the actual local (and only) primary IP address on this server, but get the same error using http, or https, when attempting to access using the dynamic DNS hostname / external IP address from a remote networ, even though I get prompted for, and am able to authenticate-

https://drive.google.com/file/d/0B3AIBD ... sp=sharing
https://drive.google.com/file/d/0B3AIBD ... sp=sharing

But I know the API works remotely though, since I can use NewsNab (SimplyNZB) to send directly to my SABNzb server. I can't imagine I am the only one thats run across this?

Thanks,
Jon

Re: Cannot access SABNZB WebUI remotely, API remotely works

Posted: June 13th, 2016, 12:02 am
by sander
Do you use SIckbeard or Sickrage?

Did you try another webbrowser?

Re: Cannot access SABNZB WebUI remotely, API remotely works

Posted: June 13th, 2016, 12:14 am
by jbot747
No, just couchpotato, sonarr, headphones and SABNzb. Uses chrome but just tried IE, and it works. Weird, but thanks!

Re: Cannot access SABNZB WebUI remotely, API remotely works

Posted: June 13th, 2016, 12:27 am
by sander
Good that it works

And ... weird indeed! Reason: You get 'Illegal cookie name wanted_view'

"wanted_view" does not occur in the SABnzbd source code.

However, "wanted_view" does occur in the source code of Sickbeard and Sickrage. So I was thinking there was a mix-up with those.

Re: Cannot access SABNZB WebUI remotely, API remotely works

Posted: June 13th, 2016, 1:11 am
by safihre
You need to clear all your 127.0.0.1 cookies in Chrome. I Googled and found more similar problems with cherrypy and cookies from multiple programs.

Search for "clear website cookies", this will probably make you execute a command in the inspector view (right click anywhere in the page, and then "Inspect element") of the browser. This way you can only clear the cookies of 127.0.0.1 and not of all websites :)

Re: Cannot access SABNZB WebUI remotely, API remotely works

Posted: June 14th, 2016, 4:58 pm
by jbot747
Yeah, that worked. Chrome worked on my work computer too, so it was definitely a localized issue. Incidentally clearing the cookies for my dDNS fqdn resolved an issue where CouchPotato would just indefinitely prompt for creds.

Thanks!