Page 1 of 1

Can't access the web interface anymore

Posted: January 15th, 2011, 4:39 pm
by Grind
I messed up the settings of SABnzbd and now I can't access the web interface anymore. I don't know what I did, but what I do know is that I set the app to use HTTPS. Maybe that's the cause. For the rest SABnzbd is running fine; it's downloading and unpacking a file right now, but I can't see the progress of it.

I've tried the following URI's:

http://localhost:8080/sabnzbd/
http://localhost:9090/sabnzbd/
http://127.0.0.1:8080/sabnzbd/
http://127.0.0.1:9090/sabnzbd/
https://localhost:8080/sabnzbd/
https://localhost:9090/sabnzbd/
https://127.0.0.1:8080/sabnzbd/
https://127.0.0.1:9090/sabnzbd/

But they all don't work. I have tried to edit the ini-file, but I don't see any settings for setting up HTTPS or something. I can only configure servers and some basic stuff.

Who can help me out? Thanks a lot!

Re: Can't access the web interface anymore

Posted: January 15th, 2011, 5:04 pm
by sander
The clever way (assuming you're using Windows):

Find out the process id of SABnzbd:

Code: Select all

C:\>tasklist | find /i "sabnzbd"
SABnzbd-console.exe           5088 Console                    1     47.384 K
In the above example it's 5088. Use that id to find the port:

Code: Select all

C:\>netstat -aon | find /i "5088"
  TCP    [::]:8080              [::]:0                 LISTENING       5088
  TCP    [::]:9090              [::]:0                 LISTENING       5088

C:\>
Then use your browser to connect to that port (don't use a proxy).



The brute force way: stop SABnzbd, remove sabnzbd.ini, start SABnzbd, and fill out the wizard again.

Re: Can't access the web interface anymore

Posted: January 15th, 2011, 5:08 pm
by Grind
Thank you for your fast answer!

I'm on a mac here, so how can I retrieve the port it's using on a mac?

Re: Can't access the web interface anymore

Posted: January 15th, 2011, 5:40 pm
by sander
Grind wrote: Thank you for your fast answer!

I'm on a mac here, so how can I retrieve the port it's using on a mac?
Ah, cool: let's find out together.

First: find the processes running with "ps" followed by "-x" and/of "-l" and/or "-a". Goal: find all processes. "ps -ax" could be it.
To find only the SABnzbd process, " | grep -i sabnzbd".
Goald: find the process id of SABnzbd.

Second: find out which port SABnzbd is listening to. I would think you would need "netstat -plnt" or so, but I read somewhere "lsof -i | grep LISTEN".
In that list, find the process id of SABnzbd



Does the above make sense to you?

Re: Can't access the web interface anymore

Posted: January 16th, 2011, 2:45 am
by Grind
When I do that I see every process with its port number. Only SABnzbd shows something else: TCP 172.16.221.1:websm (LISTEN) and TCP 172.16.221.1:http-alt (LISTEN).

What does it mean?

Re: Can't access the web interface anymore

Posted: January 16th, 2011, 3:43 am
by Grind
Ah I got it. 172.16.221.1 was the ip address and 8080 the port number. Than the interface showed up and I could disalble https. Now everything is working fine again :)

Thank you!

Re: Can't access the web interface anymore

Posted: April 20th, 2012, 11:04 am
by crowfan
Hello,

I'm bumping this old thread because I am having this same problem. I changed something related to HTTPS (attempting to setup remote access for myNZB) and now I can't access the web interface anymore.

I read through the steps above but I am running SABnzbdplus on Linux (Fedora 14 with Amahi). Can anyone help me get the web interface back? I've tried finding the PID but I'm not sure I found the right number.

Thanks!

Re: Can't access the web interface anymore

Posted: April 20th, 2012, 11:18 am
by sander
Use the command below

Code: Select all

sander@R540:~$ sudo netstat -apon | grep -i LISTEN | grep -vi listening  | grep -i python
tcp6       0      0 :::8080                 :::*                    LISTEN      6552/python      off (0.00/0/0)
tcp6       0      0 :::9090                 :::*                    LISTEN      6552/python      off (0.00/0/0)
sander@R540:~$
So on my system, SAB is running on port 8080 and 9090

or the less good variant:

Code: Select all

netstat -apon | grep -i LISTEN | grep -vi listening

Re: Can't access the web interface anymore

Posted: April 21st, 2012, 8:59 am
by crowfan
Got it working. This helped - thanks!