Can't access the web interface anymore

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
Grind
Newbie
Newbie
Posts: 20
Joined: December 7th, 2008, 3:07 pm

Can't access the web interface anymore

Post 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!
Last edited by Grind on January 15th, 2011, 4:41 pm, edited 1 time in total.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Can't access the web interface anymore

Post 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.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Grind
Newbie
Newbie
Posts: 20
Joined: December 7th, 2008, 3:07 pm

Re: Can't access the web interface anymore

Post 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?
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Can't access the web interface anymore

Post 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?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Grind
Newbie
Newbie
Posts: 20
Joined: December 7th, 2008, 3:07 pm

Re: Can't access the web interface anymore

Post 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?
Grind
Newbie
Newbie
Posts: 20
Joined: December 7th, 2008, 3:07 pm

Re: Can't access the web interface anymore

Post 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!
crowfan
Newbie
Newbie
Posts: 2
Joined: April 20th, 2012, 10:58 am

Re: Can't access the web interface anymore

Post 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!
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Can't access the web interface anymore

Post 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
crowfan
Newbie
Newbie
Posts: 2
Joined: April 20th, 2012, 10:58 am

Re: Can't access the web interface anymore

Post by crowfan »

Got it working. This helped - thanks!
Post Reply