Page 1 of 1

NewzNAB Empty NZB Error

Posted: December 26th, 2012, 9:36 am
by nzbaccts
SABnzbd Version: 0.7.7
OS: Windows 7 64-bit SP1
Install-type: Windows Installer
Skin (if applicable): Plush
Firewall Software: Windows
Are you using IPV6? no
Is the issue reproducible? yes

2012-12-26 08:11:20,378 WARNING: Empty NZB file XXXXXXXXX.nzb [http://XXXXXXXX/getnzb/API_KEY/XXXXXXXXX.nzb]

I am using a local newznab server and trying to find an iOS app (SABMobile) to remotely add downloads to SAB+. When the link gets sent to SAB+ I get the error above. I can take the link and paste it directly into a browser and the file is automatically downloaded. The file is formatted correctly because I can load it into SAB+ manually without a problem.

I have restarted SAB+ and continue to get the same the results. If there is a better app or a config change that I need to make please let me know.

SAB+ was working fine with myNZB app and matrix but that is no longer an option.

Any help is greatly appreciated.

Re: NewzNAB Empty NZB Error

Posted: December 27th, 2012, 2:34 am
by shypike
Are you using https for SABnzbd?

Re: NewzNAB Empty NZB Error

Posted: December 27th, 2012, 7:59 am
by nzbaccts
Yes.

Re: NewzNAB Empty NZB Error

Posted: December 27th, 2012, 10:47 am
by shypike
I've heard reports that there are problems when using HTTPS to connect to the newznab server.
I don't know the reason though.

Re: NewzNAB Empty NZB Error

Posted: December 27th, 2012, 10:53 am
by nzbaccts
Ok. Thanks. Just so that I understand.

Https enabled on SAB+ and not on newznab.

Is there any debug you can recommend?

Re: NewzNAB Empty NZB Error

Posted: December 27th, 2012, 11:04 am
by shypike
You say you can paste the link in a browser and download the file.
My guess is that this only works because you're already logged in to the site.
That would suggest that the link is incomplete.
Does it look like this?
http://server:port/getnzb/the-id-of-the-nzb&i=user-number&r=secret-string

Re: NewzNAB Empty NZB Error

Posted: December 27th, 2012, 1:59 pm
by Zartoz
shypike wrote:You say you can paste the link in a browser and download the file.
My guess is that this only works because you're already logged in to the site.
That would suggest that the link is incomplete.
Does it look like this?
http://server:port/getnzb/the-id-of-the-nzb&i=user-number&r=secret-string
@skypike
Yes, I am getting this exact issue. I get a proper url with the correct User-Number and Secret-String. If I logon to the site and download the NZB, there is no issue. If I am logged on and drop the User-Number and Secret-String there is no issue downloading the NZB.

However, if I use the API with SABNZBD or directly, I get an Empty NZB in SABNZBD and I get a "Bad Request" response from Newznab with my browser.

Still hunting through logs to try to figure out why API calls are failing but manual is working fine.

Re: NewzNAB Empty NZB Error

Posted: December 27th, 2012, 3:05 pm
by shypike
Looks like a problem in newznab or your setup.
SABnzdb works fine with stuff coming from a newznab site like nzbs.org.
Not sure what I can do to troubleshoot this.