service runs and downloads but interface cant load

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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
Legster
Newbie
Newbie
Posts: 16
Joined: April 7th, 2010, 5:32 pm

service runs and downloads but interface cant load

Post by Legster »

Found another problem with the beta:

Started a download en heard from hdd noice that it was downloading at high speeds but when i wanted to check how long to go I couldnt get the SABNZBD interface to load in the broweser (http://localhost:8080/sabnzbd/) .
I started sabnzbd.exe again from the program files, wich created a new process to run (so had 2x sabnzbd.exe running).

Just looked at system resources and saw that it was working, later on also repairing and unpacking and moving, but no interface.

tried in 3 browsers (chrome, firefox and IE)

Image

Rebooting the system does not solve this issue.
Reinstalling the Beta does  not solve this issue.
Uninstalling the beta and all data, then reinstalling and doing setup solves this issue.

anyone have same issues?
Last edited by Legster on February 27th, 2011, 4:52 pm, edited 1 time in total.
minimeh
Newbie
Newbie
Posts: 34
Joined: March 26th, 2010, 12:42 pm

Re: service runs and downloads but interface cant load

Post by minimeh »

Have you configured your firewall? "SABnzbd-service.exe", the new executable for Windows services, needs to be identified as an exception to blocking.
Legster
Newbie
Newbie
Posts: 16
Joined: April 7th, 2010, 5:32 pm

Re: service runs and downloads but interface cant load

Post by Legster »

i made no additional changes to the firewall as the beta was working before the last couple of days without editing firewall.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: service runs and downloads but interface cant load

Post by shypike »

Does it help when you set a maximum speed?
The only issue that I can think of is that it's so busy it doesn't have time for the UI.
Which skin do you use?
If you run the normal exe file on the same system, does it behave in the same way?
Legster
Newbie
Newbie
Posts: 16
Joined: April 7th, 2010, 5:32 pm

Re: service runs and downloads but interface cant load

Post by Legster »

Well the Ui doesnt load even when im not downloading so I do not think that its to busy (i use default skin).
Whenever I reboot my pc, i have to uninstall and reinstall SAB to get the webui to show again.

When i press the exe it starts sabnzbd.exe again (have 2 running versions) but still no Interface.

Also added Sabnzbd-service.exe to the firewall exceptions as Minimeh suggested:
Image

I rebooted pc this morning and again the problem arises.

also tried:
Sabnzbd-console.exe works and shows data in a CMD window as expected.
Disabled my virus program  but that didnt change things.
Last edited by Legster on March 3rd, 2011, 6:16 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: service runs and downloads but interface cant load

Post by shypike »

How did you install the service?
Try to set it up again like this:
net stop sabhelper
SABnzbd-service.exe -f c:\my\path\to\sabnzbd.ini --server 127.0.0.1:8080 update
net start sabnzbd

Make sure that SABnzbd isn't already running and make sure that no other
application is using port 8080. SABnzbd will try to find another port if 8080 is not free,
but you won't know which one.
Effenberg0x0
Newbie
Newbie
Posts: 42
Joined: January 24th, 2011, 1:26 pm

Re: service runs and downloads but interface cant load

Post by Effenberg0x0 »

When you telnet to 127.0.0.1:8080, do you get anything at all, a timeout or a closed/refused connection? (if your windows don't have Telnet, download Putty).
Have you tried accessing the webserver using other devices in your network, like another PC or smartphone in the same network?
Another wild guess: Maybe something else is preallocating port 8080. Have you tried setting it to something very different like 81234
I believe windows command "netstat -an" should show you a list of open ports.  You could check if you see your port listed and the status (listening, established, etc).

Of course you have to completely disable all Firewall (Windows Firewall, any antivirus) prior to trying any of these attempts.
Legster
Newbie
Newbie
Posts: 16
Joined: April 7th, 2010, 5:32 pm

Re: service runs and downloads but interface cant load

Post by Legster »

Like you both suggested there is a port switch going on it seems.

netstat -an showed me lot of ports in use, not 8080 though.
in 8085 however was in use , when i tried my browser to that port the UI came up!
http://localhost:8085/sabnzbd/

weird thing is that nother port thats open 8090 with: http://localhost:8090/sabnzbd/
ALSO gives the UI.

infact, many port that has status LISTENING will connect the UI when i replace the XXX with the port number in http://localhost:XXX/sabnzbd/

Is that normal?
and how I keep SAB on 8080 even after reboot? since its at this moment not open or in use.

Tried
net stop sabhelper (gave system error 1060 has ocured. the specified service does not exist as an installed service.)
net stop sabnzbd (same error)

then stopped sabnzbd in taskmanager.
opened cmd prompt box

SABnzbd-service.exe -f c:\my\path\to\sabnzbd.ini --server 127.0.0.1:8080 update
path being   c:\Users\Jorn\AppData\Local\sabnzbd

this gave the following error changing servie configuation: service not installed (1060)

infact when i try to just do sabnzbd-service.exe sstart i get : error starting service, the secified service does not exisst as an installed service. when i start in windows sabnzbd.exe from the desktop the Ui works again but no longer on 8090 but now its on 8095 , wich maes it a guessing game :)
Last edited by Legster on March 3rd, 2011, 7:41 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: service runs and downloads but interface cant load

Post by shypike »

Did you ever do a service install?
Legster
Newbie
Newbie
Posts: 16
Joined: April 7th, 2010, 5:32 pm

Re: service runs and downloads but interface cant load

Post by Legster »

If this is not done automaticly when you run setup and walk through the steps, I'd have to say no.
I read the installation guide also , but there is not reference to that service as a manual install, unless i missed something :)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: service runs and downloads but interface cant load

Post by shypike »

It's described here:
http://wiki.sabnzbd.org/sabnzbd-as-a-windows-service
and this item is mention in the http://wiki.sabnzbd.org/introducing-0-6-0 you were supposed to read.
Legster
Newbie
Newbie
Posts: 16
Joined: April 7th, 2010, 5:32 pm

Re: service runs and downloads but interface cant load

Post by Legster »

I see :)

well that wasnt obvious for me, especially since the service seems optional (but its not since the port keeps changing if you do not use it).

anyway, tried it and it works now :)

tnx for the info.

for Other people with simular problems.

To install the service first open a command prompt box AS ADMINISTRATOR (go to Start button> all programs>assesoires> Command prompt and right click and choose run as administrator).
once you in the command prompt go to the installation directory of sabnzbd ( so if you are in c:\windows\system32\ type: cd\ cd program files\sabnzbd).
used from the command prompt

C:\Program Files\SABnzbd>SABnzbd-service.exe -f C:\Users\legster\AppData\Local\sabnzbd\sabnzbd.ini -s legsterpc1:8080 install

oh and note that the adresss i use now is my internal ip adres of the pc running it:

so its
http://192.168.1.1:8080/sabnzbd

AND NOT: localhost:8080/sabnzbd AND NOT: 127.0.0.1:8080/sabnzbd

hope that helps others aswell :)
Last edited by Legster on March 9th, 2011, 5:31 am, edited 1 time in total.
Post Reply