OSX no startup with 0.0.0.0 host

Report & discuss bugs found in 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.
milli260876
Newbie
Newbie
Posts: 8
Joined: August 14th, 2012, 5:03 pm

Re: OSX no startup with 0.0.0.0 host

Post by milli260876 »

I'm running windows 8 rc and just noticed this.. Could I be experiencing this issue ?
My host is defo 0.0.0.0
I will try change it when I get home
I also posted here
http://forums.sabnzbd.org/viewtopic.php?f=2&t=11453
After searching the wiki etc...
Cpuroast
Release Testers
Release Testers
Posts: 69
Joined: December 15th, 2010, 11:19 pm

Re: OSX no startup with 0.0.0.0 host

Post by Cpuroast »

Hi Shypike,

Just encountered this issue on OSX 10.5 helping someone.

User starts sab, setup starts, chooses all computers, sab configures to 0.0.0.0, sab tries to restart, fails, user is stuck.

Tried 127.0.0.1/localhost/192.168 IP
All work, except 0.0.0.0
Enabled "no_ipv6" in ini. Sab now starts correctly on 0.0.0.0.

A good idea would be to try turning on "no_ipv6" automatically after the failure occurs and forcing a sab restart. Similar to how sab will try a random port if a port is already in use.
That way the user actually gets back in, instead of being forced to manually edit the ini file which can be scary for most.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: OSX no startup with 0.0.0.0 host

Post by shypike »

There is no real solution as long as Apple doesn't get its DNS and IPv6 acts together.
Enabling the no_ipv6 option will lead to problems for other people.
rorschach1234
Newbie
Newbie
Posts: 6
Joined: February 9th, 2011, 6:51 am

Re: OSX no startup with 0.0.0.0 host

Post by rorschach1234 »

Hello,

I'm running SABnzbd+ on OSX 10.8.3 and I've been suffering from this problem too.
When I use the SABnzbd+ Quick-Start Wizard, the option "I want SABnzbd to be viewable by any pc on my network", sets the following line in sabnzbd.ini :- "host = localhost" to "host = 0.0.0.0".

This then causes the following error to occur, and SABnzbd keeps shutting down almost immediately after I start it up:
[24/May/2013:19:08:18] ENGINE Error in 'start' listener > Traceback (most recent call last): File "cherrypy/process/wspbus.pyc", line 147, in publish File "cherrypy/process/servers.pyc", line 55, in start File "cherrypy/process/servers.pyc", line 260, in wait_for_free_port IOError: Port 9080 not free on '0.0.0.0'

If I manually change the sabnzbd.ini back to "host = localhost" then I can restart it fine, but left as 0.0.0.0 it will not.
I tried setting the "no_ipv6 = " switch to 1, but this didn't make any difference either.

I don't know much about IPv6, but if there is a solution or workaround for this problem I would very much appreciate any advice or assistance! :)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: OSX no startup with 0.0.0.0 host

Post by shypike »

Try an empty host name instead.
rorschach1234
Newbie
Newbie
Posts: 6
Joined: February 9th, 2011, 6:51 am

Re: OSX no startup with 0.0.0.0 host

Post by rorschach1234 »

Thank you very much, shypike! This is working for me now, SABnzbd+ starts reliably and I can access it from inside and outside my home network.
Hurrah!
Post Reply