After some cackhanded fiddling around I tracked it down to Sab looking up my server's hostname, which was returning its FQDN, and due to laziness/'security reasons' (mainly the former, I'll admit ) my server's FQDN doesn't actually resolve to anything. So Sab is detecting the error and resetting the IP to 0.0.0.0. Which isn't doing what it used to do.
Anyway, here's a simple patch which solves the problem (at least for me):
Code: Select all
--- SABnzbd.py 2008-07-20 04:52:31.000000000 +0100
+++ SABnzbd.py 2008-07-20 05:58:59.000000000 +0100
-615,5 +615,5 @@
localhost = hostip = 'localhost'
try:
- info = socket.getaddrinfo(socket.gethostname(), None)
+ info = socket.getaddrinfo(cherryhost, None)
except:
# Hostname does not resolve, use 0.0.0.0