Odd behaviour on launch

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
Mongjohn
Newbie
Newbie
Posts: 3
Joined: January 3rd, 2011, 8:03 pm

Odd behaviour on launch

Post by Mongjohn »

First of all: hello all! I've been using SABnzbd for a while and I've never had any problems with it, but this is getting the best of me so I had to register.


I'm probably missing something obvious, but I can't figure out what: I just got a new PC (HP Envy 14 for anyone interested) and I'm trying to set up SABnbzd.

When launching sabnzbd.exe I can connect to http://localhost:/ for a BRIEF moment; the wizard shows and so far I've got as far as step 3, but then I lose the connection and get a 404 (well, acutally just a blank page, but that's how Firefox usually behaves when it can't make the connection).
What's really odd is that this only happens in Firefox and only just right after launching Firefox am I able to connect (most of the time - sometimes it can't connect at all). If I restart Firefox I can usually repeat the process. IE's never been able to connect even if set as standard browser (Firefox hasn't failed to start the wizard yet if it's closed when launching SABnzbd - IE can't do this).

Does anyone have a clue what's going on?

EDIT: I've never been able to connect from outside the LAN nor using the local IP, only on localhost. TVersity is running fine on the same PC...


Version: 0.5.6
OS: 7 x64
Install-type: Windows Installer + Binaries
Firewall Software: MS Security Essentials + Windows Firewall (which has been disabled)
Are you using IPV6? No
Is the issue reproducible? Yes
Last edited by Mongjohn on January 3rd, 2011, 8:39 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Odd behaviour on launch

Post by shypike »

Can be a case of Firefox being confused about localhost being IPv6 vs. IPv4.
Try http://127.0.0.1:8080/sabnzbd in Firefox.
Or disable IPV6 lookups in Firefox.

To get external access, set SABnzbd to IP 0.0.0.0 and tell the firewall to let SABnzbd through.
Mongjohn
Newbie
Newbie
Posts: 3
Joined: January 3rd, 2011, 8:03 pm

Re: Odd behaviour on launch

Post by Mongjohn »

IPv6 has been disabled in Windows and network.dns.disableIPv6 is set to false in Firefox.

Firefox is the ONLY browser that's able to connect and only on localhost, not on 127.0.0.1 or any other IP, and only very briefly right after launching Firefox. IE can't connect no matter what.

I know how to configure external access, but I can't even get to the interface...

EDIT: Okay, I gotta pay more attention to what I'm actually writing; network.dns.disableIPv6 has now been set to true, but now I can't connect using any browser, so IPv6 may have something to do with it after all - I just don't know what...
Last edited by Mongjohn on January 4th, 2011, 7:56 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Odd behaviour on launch

Post by shypike »

You can start SABnzbd from the start window:
Windows-Key R
"c:\program files (x86)\SABnzbd\SABnzbd.exe" --server 0.0.0.0:8080
Enter

Alternatively to force IPV4 localhost only:
Windows-Key R
"c:\program files (x86)\SABnzbd\SABnzbd.exe" --server 127.0.0.1:8080
Enter
Mongjohn
Newbie
Newbie
Posts: 3
Joined: January 3rd, 2011, 8:03 pm

Re: Odd behaviour on launch

Post by Mongjohn »

I tried changing the host in the ini to 0.0.0.0 and 127.0.0.1 (as your sugestion also seems to do) and in both cases I can now conistently connect in both IE and Firefox. The odd thing is I'm now redirected to the /wizard every time i access http:/// and http:///sabnzbd, so it doesn't seem like a cache problem (plus, it's been cleared ;)). It seems to save all settings (except news service), though.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Odd behaviour on launch

Post by shypike »

The sabnzbd.ini file was lost before this happened or you
originally started SABnzbd with a -f parameter.
Post Reply