Cannot add via URL

Support for the Debian/Ubuntu package, created by JCFP.
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
micko91
Newbie
Newbie
Posts: 1
Joined: April 30th, 2013, 8:49 pm

Cannot add via URL

Post by micko91 »

Hi,

I'm using sabnzbd on Ubuntu 12.04 (Server) with package 0.7.11-0ubuntu1~jcfp1~precise

I am unable to add .nzb files via URL, however I can upload them and I can download without any problems.

In the console log I get:

Code: Select all

2013-05-01 08:35:09,495::INFO::[urlgrabber:116] Grabbing URL http://www.nzbindex.nl/******.nzb
2013-05-01 08:35:09,496::INFO::[urlgrabber:179] Retry URL http://www.nzbindex.nl/download/******.nzb
My nameserver is set to 8.8.8.8 in /etc/resolv.conf and in /etc/nsswitch.conf I have:

Code: Select all

hosts:          files dns
I can use wget to download the file without any problems, but I still can't add .nzb file via URL in the web interface.

If I put a static host entry in /etc/hosts like so:

Code: Select all

178.20.172.20  www.nzbindex.nl
It then works without any problems whatsoever.

I've tried using TCPDUMP to see what happens when I go to add a URL and my client never seems to make a DNS or HTTP request to the appropriate servers.

I can do nslookups and use apt-get on my machine with no problems, so I don't think it's a DNS issue on my machine.

Can anyone help me out.

Thanks
micko
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Cannot add via URL

Post by shypike »

I cannot reproduce your issue.
However, I can confirm that DNS support in apps sometimes has inconsistencies.
The libraries accompanying programming languages (like Python that we use) have slightly different behaviour than nslookup.
If your patch fixes the issue, stick to that. I don't know how I could fix it in SABnzbd.
Post Reply