Page 1 of 2

can't get sabnzbd working on my mac

Posted: January 6th, 2009, 1:50 am
by wilsonfisk
downloaded the sabnzbd program from this site, copied it to my applications folder. when i start it up, it opens a new tab in firefox at the address: http://localhost:8080/sabnzbd and it just displays a "failed to connect" message. it creates the complete and incomplete folders in my downloads folder though.

anyone else have this problem?

Re: can't get sabnzbd working on my mac

Posted: January 6th, 2009, 5:29 am
by shypike
Try http://127.0.0.1:8080/sabnzbd or else http://[::1]:8080/sabnzbd

Re: can't get sabnzbd working on my mac

Posted: January 6th, 2009, 8:34 am
by wilsonfisk
shypike wrote: http://[::1]:8080/sabnzbd
this worked. thanks!!!

why is it that this was the address i had to use to pull it up?

Re: can't get sabnzbd working on my mac

Posted: January 6th, 2009, 8:39 am
by switch
What version of firefox are you using? 2?

On some operating systems localhost can mean 127.0.0.1 (an ipv4 address) and on others it can mean [::1] (an ipv6 address). It looks like your browser is not respecting the operating system's choice.

Re: can't get sabnzbd working on my mac

Posted: January 6th, 2009, 12:26 pm
by wilsonfisk
im using the most current verison of firefox i believe its version 3.x.x

when i first installed it, i also tried using safari and it didnt work there as well.

can i configure the sabnzbd program so that it doesnt go to localhost:8080 everytime it starts?

Re: can't get sabnzbd working on my mac

Posted: January 6th, 2009, 12:38 pm
by switch
If you go into config>general and delete the value for "Host" (leaving it blank) then restart sabnzbd it will listen on your local ip address instead.

Re: can't get sabnzbd working on my mac

Posted: January 6th, 2009, 2:14 pm
by shypike
Or put [::1] or 127.0.0.1 in the Host field.

Maybe we should not default to localhost for OSX.

Re: can't get sabnzbd working on my mac

Posted: January 6th, 2009, 3:31 pm
by wilsonfisk
whats strange is, i installed sabnzbd on my macbook pro which is running the same version of os x (10.5.5 or 6) and it started up perfectly the first time. when i went home and did it on my iMac, i ran into the localhost problem. the only difference between the 2 computers is, they both connect via wifi, one connects to a verizon wireless actiontec router and my imac connects via wifi to an airport base station. both also using the same version of firefox.

Re: can't get sabnzbd working on my mac

Posted: January 6th, 2009, 4:14 pm
by sander
wilsonfisk wrote: whats strange is, i installed sabnzbd on my macbook pro which is running the same version of os x (10.5.5 or 6) and it started up perfectly the first time. when i went home and did it on my iMac, i ran into the localhost problem. the only difference between the 2 computers is, they both connect via wifi, one connects to a verizon wireless actiontec router and my imac connects via wifi to an airport base station. both also using the same version of firefox.
On each/both machine, what happens if you open a terminal screen / command box (I don't know the name on Mac), and you "ping localhost"?
Does the file /etc/hosts exist, and does it contain a line "127.0.0.1      localhost"?

Re: can't get sabnzbd working on my mac

Posted: January 6th, 2009, 10:48 pm
by wilsonfisk
sander wrote: On each/both machine, what happens if you open a terminal screen / command box (I don't know the name on Mac), and you "ping localhost"?
Does the file /etc/hosts exist, and does it contain a line "127.0.0.1       localhost"?
i get the same message when pinging localhost on both machines. looks like this "64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.032 ms" and it pings a bunch of more times, thats just the first line. not sure where the hosts file would be on my mac.

Re: can't get sabnzbd working on my mac

Posted: January 7th, 2009, 5:28 am
by sander
wilsonfisk wrote:
sander wrote: On each/both machine, what happens if you open a terminal screen / command box (I don't know the name on Mac), and you "ping localhost"?
Does the file /etc/hosts exist, and does it contain a line "127.0.0.1       localhost"?
i get the same message when pinging localhost on both machines. looks like this "64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.032 ms" and it pings a bunch of more times, thats just the first line. not sure where the hosts file would be on my mac.
So 'localhost' is correctly resolved. That's good.

And, just checking:

http://localhost:8080/sabnzbd does not work?
http://127.0.0.1:8080/sabnzbd does or does not work?
http://[::1]:8080/sabnzbd does work?

On the 'non-working' Mac, is there a firewall active?

Re: can't get sabnzbd working on my mac

Posted: January 7th, 2009, 9:03 am
by wilsonfisk
sander wrote:
wilsonfisk wrote:
sander wrote: On each/both machine, what happens if you open a terminal screen / command box (I don't know the name on Mac), and you "ping localhost"?
Does the file /etc/hosts exist, and does it contain a line "127.0.0.1       localhost"?
i get the same message when pinging localhost on both machines. looks like this "64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.032 ms" and it pings a bunch of more times, thats just the first line. not sure where the hosts file would be on my mac.
So 'localhost' is correctly resolved. That's good.

And, just checking:

http://localhost:8080/sabnzbd does not work?
http://127.0.0.1:8080/sabnzbd does or does not work?
http://[::1]:8080/sabnzbd does work?

On the 'non-working' Mac, is there a firewall active?
http://localhost:8080/sabnzbd - DOESNT WORK
http://127.0.0.1:8080/sabnzbd  - DOESNT WORK
http://[::1]:8080/sabnzbd - WORKS

Re: can't get sabnzbd working on my mac

Posted: January 7th, 2009, 10:00 am
by sander
wilsonfisk wrote:
http://localhost:8080/sabnzbd - DOESNT WORK
http://127.0.0.1:8080/sabnzbd  - DOESNT WORK
http://[::1]:8080/sabnzbd - WORKS
So it seems the IPv4 connection is blocked, and IPv6 is not blocked.

Is there a firewall active on the Mac? If so, is might be blocking IPv4 traffic to the Mac
What is filled out "Host" in config -> general?

Re: can't get sabnzbd working on my mac

Posted: January 7th, 2009, 1:18 pm
by switch
If localhost resolves to an ipv4 address then sabnzbd should really be listening on that. I can't remember what checks we do offhand, but I thought we checked if localhost is ambiguous.

I wonder why it works on some OSX systems but not others.

Re: can't get sabnzbd working on my mac

Posted: January 7th, 2009, 4:37 pm
by sander
switch wrote: If localhost resolves to an ipv4 address then sabnzbd should really be listening on that.
... but in between could be a IPv4-only firewall ...
Not probable, but we should check it.
switch wrote: I can't remember what checks we do offhand, but I thought we checked if localhost is ambiguous.

I wonder why it works on some OSX systems but not others.
Ah, it happens more often?