This is indeed reproducible by adding a bogus server to an otherwise completely working setup. For testing, I added example.org port 119 as a standard server (user/pass empty, 120s timeout, no ssl, 1 connection); there's no news server at that address and any attempt to connect will just time out. After doing this and restarting the program, sabnzbd stopped downloading completely; even though it was able to establish a connection to the other, working servers, nothing was ever downloaded. Instead, the logs show a repetitive cycle of connecting to all servers, timing out on the bogus one after 120 seconds (= timeout setting for all my servers) with the ValueError: need more than 1 value to unpack while downloading absolutely nothing. Restarting sabnzbd with the bogus server removed fixed the problem, although it did seem to take longer to pick up speed initially. Console logging and netstat output attached.sander wrote:All primary servers, of which some were not functioning (no account, or trying out SSL which did not work on xlned.com). So the non-functioning primary server could cause the block? Interesting.
0.4.0-beta2 stops downloading. Restart of SABnzbd needed.
Forum rules
Help us help you:
Help us help you:
- 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.
Re: 0.4.0-beta2 stops downloading. Restart of SABnzbd needed.
-
- Full Member
- Posts: 211
- Joined: January 22nd, 2008, 1:38 pm
Re: 0.4.0-beta2 stops downloading. Restart of SABnzbd needed.
How did you add the changes ? Via editing the ini file or via one of the interfaces?
Re: 0.4.0-beta2 stops downloading. Restart of SABnzbd needed.
Added the bogus server via the Default interface, then restarted the program. Removal was done manually by editing out the offending server from the ini file after shutting down sabnzbd.nzb_leecher wrote:How did you add the changes ? Via editing the ini file or via one of the interfaces?
Re: 0.4.0-beta2 stops downloading. Restart of SABnzbd needed.
I recognize the "ValueError: need more than 1 value to unpack" from my logging.
And, even better: I can reproduce this, indeed by adding a non-functional FQDN: the downloads stops!
I now also see this on stdout (stderr?):
Not sure I it's caused by the non-functional newsserver.
And, even better: I can reproduce this, indeed by adding a non-functional FQDN: the downloads stops!
I now also see this on stdout (stderr?):
Code: Select all
17/Apr/2008:20:41:28 HTTP INFO Page handler: "The path '/sabnzbd/m/static/PlotKi
t/Plotkit.js' was not found."
Traceback (most recent call last):
File "/home/sander/SABnzbd-0.4.0Beta2/cherrypy/_cphttptools.py", line 105, in
_run
self.main()
File "/home/sander/SABnzbd-0.4.0Beta2/cherrypy/_cphttptools.py", line 246, in
main
page_handler, object_path, virtual_path = self.mapPathToObject(path)
File "/home/sander/SABnzbd-0.4.0Beta2/cherrypy/_cphttptools.py", line 312, in
mapPathToObject
raise cherrypy.NotFound(objectpath)
NotFound: 404
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: 0.4.0-beta2 stops downloading. Restart of SABnzbd needed.
I've added it via the web interface. BTW: it takes a lot of time before the web interface returns with the new settings after changing them.nzb_leecher wrote: How did you add the changes ? Via editing the ini file or via one of the interfaces?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: 0.4.0-beta2 stops downloading. Restart of SABnzbd needed.
The problem described in my post (Reply #15 on: April 17, 2008) still holds exactly as before on beta5, except that the python error is gone. When some server is unreachable, nothing is ever downloaded from any server and the log shows a repetitive cycle of connection attempts and subsequent failures/timeouts .
Re: 0.4.0-beta2 stops downloading. Restart of SABnzbd needed.
That's because of the soft restart. Especially when you use a large memory cache it will be flushed to disk.sander wrote: BTW: it takes a lot of time before the web interface returns with the new settings after changing them.
Someday we will fix that soft restart.
Last edited by shypike on May 13th, 2008, 9:30 am, edited 1 time in total.
Re: 0.4.0-beta2 stops downloading. Restart of SABnzbd needed.
We didn't do anything about this problem yet.jcfp wrote: When some server is unreachable, nothing is ever downloaded from any server and the log shows a repetitive cycle of connection attempts and subsequent failures/timeouts .