0.6.1 Final NZB association not working

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.
Post Reply
kawasabi
Newbie
Newbie
Posts: 12
Joined: March 6th, 2011, 8:08 am

0.6.1 Final NZB association not working

Post by kawasabi »

Somehow still not working for me and does start a second copy of the program.
Am i doing something wrong?

On Firefox 4.0.1
Win 7 x86
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.6.1 Final NZB association not working

Post by shypike »

Are you using an HTTPS connection to the web interface?
kawasabi
Newbie
Newbie
Posts: 12
Joined: March 6th, 2011, 8:08 am

Re: 0.6.1 Final NZB association not working

Post by kawasabi »

Yes i do.
Well it does work kinda...

When clicking the nzb it starts another copy of the app and i have to kill them both and change the https_port in the ini.
When restarting sabnzbd the nzb is there, so it does add it.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.6.1 Final NZB association not working

Post by shypike »

I'm looking into this and there's something odd going on when using HTTPS and the Windows binary.
To make things hard, it only happens when you use the binary.
When debugging with the sources, all works fine.

Try running with plain HTTP, that should solve it for now.
kawasabi
Newbie
Newbie
Posts: 12
Joined: March 6th, 2011, 8:08 am

Re: 0.6.1 Final NZB association not working

Post by kawasabi »

thnx will try that.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.6.1 Final NZB association not working

Post by shypike »

It looks like the problem only occurs on Windows 7 (possibly Vista and Server2008 as well).
On Windows XP there seems to be no problem.

EDIT:
The real cause is this:
localhost doesn't resolve to 127.0.0.1 (IPV4) but to [::1] (IPV6)
Only Vista, Server2008 and Win7 have this, not XP.
The runtime version of Python that we use to generate the Windows binary cannot handle a "localhost" that resolves to an IPV6 address.

WORK-AROUND:
Set the host address of SABnzbd to 127.0.0.1 and not to localhost.

Advanced users may hack their host.ini file, but there could be side-effects.
Last edited by shypike on May 16th, 2011, 2:46 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.6.1 Final NZB association not working

Post by shypike »

Post Reply