0.4.0-beta2 stops downloading. Restart of SABnzbd needed.

Questions and bug reports for Beta releases should be posted here.
Forum rules
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.
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: 0.4.0-beta2 stops downloading. Restart of SABnzbd needed.

Post by jcfp »

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.
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.
nzb_leecher
Full Member
Full Member
Posts: 211
Joined: January 22nd, 2008, 1:38 pm

Re: 0.4.0-beta2 stops downloading. Restart of SABnzbd needed.

Post by nzb_leecher »

How did you add the changes ? Via editing the ini file or via one of the interfaces?
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: 0.4.0-beta2 stops downloading. Restart of SABnzbd needed.

Post by jcfp »

nzb_leecher wrote:How did you add the changes ? Via editing the ini file or via one of the interfaces?
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.
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: 0.4.0-beta2 stops downloading. Restart of SABnzbd needed.

Post by sander »

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?):

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
Not sure I it's caused by the non-functional newsserver.
Please don't send me unrequested PM's; the forum is the best way to communicate.
If someone helps you, please reply to that help.
f you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: 0.4.0-beta2 stops downloading. Restart of SABnzbd needed.

Post by sander »

nzb_leecher wrote: How did you add the changes ? Via editing the ini file or via one of the interfaces?
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.
Please don't send me unrequested PM's; the forum is the best way to communicate.
If someone helps you, please reply to that help.
f you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: 0.4.0-beta2 stops downloading. Restart of SABnzbd needed.

Post by jcfp »

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 :'(.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.4.0-beta2 stops downloading. Restart of SABnzbd needed.

Post by shypike »

sander wrote: BTW: it takes a lot of time before the web interface returns with the new settings after changing them.
That's because of the soft restart. Especially when you use a large memory cache it will be flushed to disk.
Someday we will fix that soft restart.
Last edited by shypike on May 13th, 2008, 9:30 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.4.0-beta2 stops downloading. Restart of SABnzbd needed.

Post by shypike »

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 :'(.
We didn't do anything about this problem yet.
Post Reply