Page 2 of 2

Re: No download at all, both in 0.4.2 and 0.4.4: no download at all with two NZbs in

Posted: October 5th, 2008, 3:55 pm
by sander
FYI: this is what I get with manual connections:

Code: Select all

sander@fujitsu:~$ telnet test.news-service.com nntp
Trying 195.114.241.60...
telnet: Unable to connect to remote host: Connection timed out
sander@fujitsu:~$
sander@fujitsu:~$
sander@fujitsu:~$ telnet news.ipv6.eweka.nl nntp
Trying 2001:4de0:1::1:1...
Connected to news.ipv6.eweka.nl.
Escape character is '^]'.
201 news.ipv6.eweka.nl NNRP Service Ready - [email protected] (no posting).
quit
205 Transferred 73 bytes in 0 articles, 0 groups.  Disconnecting.
Connection closed by foreign host.
sander@fujitsu:~$
Apparantly SABnzbd gets stuck with the test.news-service.com session time-out and keeps retrying that server.

How does SABnzbd handle concurrent sessions? Is that done by downloader.py?

Re: No download at all, both in 0.4.2 and 0.4.4: no download at all with two NZbs in

Posted: October 5th, 2008, 4:03 pm
by shypike
Yes, it's the hardest part of SABnzbd.
The place we prefer not to look at :o

Taming parallel sockets in Python is not an easy thing to do.

So far, I haven't seen the problems you claim.
When I add a non-existent server, it just blocks until timeout, but
the other servers continue.

There is one exception though!
When the last required article of a job does not exist and SABnzbd has tried
all other servers (and got no for an answer), it keeps retrying the
blocked server forever. Probably because it does not get the "no such article" message.

So maybe this is the stuck download problem we have been hunting for.
Not sure if it's related to your specific problem.

Re: No download at all, both in 0.4.2 and 0.4.4: no download at all with two NZbs in

Posted: October 5th, 2008, 4:44 pm
by sander
I can generate the effect very easily:

with two servers on, of which one non-functional, there's no download at all

when I set the non-functional server to 0, AND restart SAB, the downloads starts again. (Without the SAB-restart, the download stays on 0)

when I set the non-functional server again to 2, the download goes down to 0

All on Ubuntu

The download is at it's begin, so I guess it's not last-article-related.

Re: No download at all, both in 0.4.2 and 0.4.4: no download at all with two NZbs in

Posted: October 5th, 2008, 4:52 pm
by sander
FWIW: is the output on the CLI. First succesful downloading with only the functional server set to >0, then (I think after the firefox-POST), the non-functional server is on again, and ... blocking all traffice. Well, that is: SAB *does* setup a connection to the functional news.ipv6.eweka.nl, and apparently *ignoring* the result from that server.


2008-10-05 23:44:53,612::INFO::[downloader] Thread [email protected]:119: fetching part78of82.rvHPjtvQy9AAvc&[email protected]                                                   
2008-10-05 23:44:53,613::INFO::[decoder] Decoding                              
2008-10-05 23:44:53,632::INFO::[articlecache] Flushing to disk                                                                                                                                                                                                   
2008-10-05 23:44:53,634::INFO::[sabnzbd] Saving data for SABnzbd_article_B1RxcV in /home/sander/.sabnzbd/cache/SABnzbd_article_B1RxcV                                                               
2008-10-05 23:44:56,681::INFO::SABnzbd shutting down...                                                                                                                                             
2008-10-05 23:44:56,682::INFO::[sabnzbd.misc] URLGrabber shutting down                                                                                                                             
2008-10-05 23:44:57,036::INFO::[downloader] Thread [email protected]:119: part75of82.rvHPjtvQy9AAvc&[email protected] done                                                       
2008-10-05 23:44:57,038::INFO::[decoder] Decoding                              
2008-10-05 23:44:57,056::INFO::[articlecache] Flushing to disk                                                                                                                                                                                                   
2008-10-05 23:44:57,057::INFO::[sabnzbd] Saving data for SABnzbd_article_04TaOJ in /home/sander/.sabnzbd/cache/SABnzbd_article_04TaOJ                                                               
2008-10-05 23:44:57,625::INFO::[downloader] Thread [email protected]:119: part76of82.rvHPjtvQy9AAvc&[email protected] done                                                       
2008-10-05 23:44:57,627::INFO::[decoder] Decoding                              
2008-10-05 23:44:57,649::INFO::[articlecache] Flushing to disk                                                                                                                                                                                                   
2008-10-05 23:44:57,649::INFO::[sabnzbd] Saving data for SABnzbd_article_XHL3VO in /home/sander/.sabnzbd/cache/SABnzbd_article_XHL3VO                                                               
2008-10-05 23:44:57,784::INFO::[downloader] Thread [email protected]:119: part78of82.rvHPjtvQy9AAvc&[email protected] done                                                       
2008-10-05 23:44:57,786::INFO::[decoder] Decoding                              
2008-10-05 23:44:57,810::INFO::[articlecache] Flushing to disk                                                                                                                                                                                                   
2008-10-05 23:44:57,811::INFO::[sabnzbd] Saving data for SABnzbd_article_e5GRj6 in /home/sander/.sabnzbd/cache/SABnzbd_article_e5GRj6                                                               
2008-10-05 23:44:58,633::INFO::[downloader] Thread [email protected]:119: part77of82.rvHPjtvQy9AAvc&[email protected] done                                                       
2008-10-05 23:44:58,635::INFO::[decoder] Decoding                              
2008-10-05 23:44:58,653::INFO::[articlecache] Flushing to disk                                                                                                                                                                                                   
2008-10-05 23:44:58,654::INFO::[sabnzbd] Saving data for SABnzbd_article_KALkz1 in /home/sander/.sabnzbd/cache/SABnzbd_article_KALkz1                                                               
2008-10-05 23:44:58,664::INFO::[downloader] Shutting down                                                                                                                                           
2008-10-05 23:44:58,665::INFO::[assembler] Shutting down                                                                                                                                           
2008-10-05 23:44:58,666::INFO::[nzbqueue] Saving queue                                                                                                                                             
2008-10-05 23:44:58,666::INFO::[sabnzbd] Saving data for SABnzbd_nzo_-Wj-sP in /home/sander/.sabnzbd/cache/SABnzbd_nzo_-Wj-sP                                                                       
2008-10-05 23:44:58,687::INFO::[sabnzbd] Saving data for queue7.sab in /home/sander/.sabnzbd/cache/queue7.sab                                                                                       
2008-10-05 23:44:58,689::INFO::[sabnzbd] Saving data for bytes7.sab in /home/sander/.sabnzbd/cache/bytes7.sab                                                                                       
2008-10-05 23:44:58,690::INFO::[sabnzbd] Saving data for rss_data.sab in /home/sander/.sabnzbd/cache/rss_data.sab                                                                                   
::ffff:127.0.0.1 - - [05/Oct/2008:23:44:59] "GET /sabnzbd/queue/?dummy2=15&dummy=0.05357684535842222 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"                                                                                                                                       
::ffff:127.0.0.1 - - [05/Oct/2008:23:44:59] "GET /sabnzbd/history/?dummy2=15&dummy=0.24110765550585656 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"                                                                                                                                     
2008-10-05 23:44:59,175::INFO::All processes stopped
2008-10-05 23:44:59,178::INFO::[sabnzbd] Loading data for rss_data.sab from /home/sander/.sabnzbd/cache/rss_data.sab
2008-10-05 23:44:59,181::INFO::[sabnzbd] Loading data for queue7.sab from /home/sander/.sabnzbd/cache/queue7.sab
2008-10-05 23:44:59,184::INFO::[sabnzbd] Loading data for SABnzbd_nzo_-Wj-sP from /home/sander/.sabnzbd/cache/SABnzbd_nzo_-Wj-sP
2008-10-05 23:44:59,213::INFO::All processes started
2008-10-05 23:44:59,214::INFO::[nzbqueue] Saving queue
2008-10-05 23:44:59,214::INFO::[sabnzbd] Saving data for SABnzbd_nzo_-Wj-sP in /home/sander/.sabnzbd/cache/SABnzbd_nzo_-Wj-sP
2008-10-05 23:44:59,227::INFO::[sabnzbd] Saving data for queue7.sab in /home/sander/.sabnzbd/cache/queue7.sab
2008-10-05 23:44:59,228::INFO::[sabnzbd] Saving data for bytes7.sab in /home/sander/.sabnzbd/cache/bytes7.sab
2008-10-05 23:44:59,229::INFO::[sabnzbd] Saving data for rss_data.sab in /home/sander/.sabnzbd/cache/rss_data.sab
2008-10-05 23:44:59,230::INFO::[downloader] [email protected]:119: Initiating connection
2008-10-05 23:44:59,230::INFO::[sabnzbd.misc] URLGrabber starting up
::ffff:127.0.0.1 - - [05/Oct/2008:23:44:59] "POST /sabnzbd/config/server/saveServer HTTP/1.1" 302 - "http://localhost:8080/sabnzbd/config/server/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"




::ffff:127.0.0.1 - - [05/Oct/2008:23:44:59] "GET /sabnzbd/config/server/ HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/config/server/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
2008-10-05 23:44:59,387::INFO::[downloader] [email protected]:119: Initiating connection
2008-10-05 23:44:59,525::INFO::[downloader] [email protected]:119: Initiating connection
2008-10-05 23:44:59,662::INFO::[downloader] [email protected]:119: Initiating connection
2008-10-05 23:44:59,839::INFO::[downloader] [email protected]:563: Initiating connection
::ffff:127.0.0.1 - - [05/Oct/2008:23:45:29] "GET /sabnzbd/queue/?dummy2=15&dummy=0.8900970844008383 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [05/Oct/2008:23:45:29] "GET /sabnzbd/history/?dummy2=15&dummy=0.9948574405136802 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [05/Oct/2008:23:45:59] "GET /sabnzbd/queue/?dummy2=15&dummy=0.9684259474265946 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [05/Oct/2008:23:45:59] "GET /sabnzbd/history/?dummy2=15&dummy=0.36492238988426196 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [05/Oct/2008:23:46:29] "GET /sabnzbd/queue/?dummy2=15&dummy=0.8015338331756237 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [05/Oct/2008:23:46:29] "GET /sabnzbd/history/?dummy2=15&dummy=0.895073959147915 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [05/Oct/2008:23:46:59] "GET /sabnzbd/queue/?dummy2=15&dummy=0.8134431348916594 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [05/Oct/2008:23:46:59] "GET /sabnzbd/history/?dummy2=15&dummy=0.9457745434695175 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
2008-10-05 23:47:00,133::ERROR::[newswrapper] Failed to connect: timed out [email protected]:563
2008-10-05 23:47:00,134::ERROR::[downloader] Failed to initialize [email protected]:563
2008-10-05 23:47:00,135::WARNING::[downloader] Thread [email protected]:563: failed to initialize
2008-10-05 23:47:00,136::INFO::[downloader] [email protected]:563: Initiating connection
::ffff:127.0.0.1 - - [05/Oct/2008:23:47:29] "GET /sabnzbd/queue/?dummy2=15&dummy=0.3369302453426548 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [05/Oct/2008:23:47:29] "GET /sabnzbd/history/?dummy2=15&dummy=0.4862692703124072 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [05/Oct/2008:23:47:59] "GET /sabnzbd/queue/?dummy2=15&dummy=0.43786192189149187 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [05/Oct/2008:23:47:59] "GET /sabnzbd/history/?dummy2=15&dummy=0.4601940119808955 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [05/Oct/2008:23:48:29] "GET /sabnzbd/queue/?dummy2=15&dummy=0.8157494491577004 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [05/Oct/2008:23:48:29] "GET /sabnzbd/history/?dummy2=15&dummy=0.5700181858542713 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"

Re: No download at all, both in 0.4.2 and 0.4.4: no download at all with two NZbs in

Posted: October 5th, 2008, 5:06 pm
by sander
Another way to reproduce the problem:

1) functional server
2) www.cisco.com as a non-functional server

Results in the same behaviour.

First, with only the functional server, the download goes OK:

2008-10-06 00:01:04,060::INFO::[sabnzbd] Loading data for rss_data.sab from /home/sander/.sabnzbd/cache/rss_data.sab
2008-10-06 00:01:04,064::INFO::[sabnzbd] Loading data for queue7.sab from /home/sander/.sabnzbd/cache/queue7.sab
2008-10-06 00:01:04,065::INFO::[sabnzbd] Loading data for SABnzbd_nzo_-Wj-sP from /home/sander/.sabnzbd/cache/SABnzbd_nzo_-Wj-sP
2008-10-06 00:01:04,089::INFO::All processes started
2008-10-06 00:01:04,090::INFO::[nzbqueue] Saving queue
2008-10-06 00:01:04,091::INFO::[sabnzbd] Saving data for SABnzbd_nzo_-Wj-sP in /home/sander/.sabnzbd/cache/SABnzbd_nzo_-Wj-sP
2008-10-06 00:01:04,110::INFO::[sabnzbd] Saving data for queue7.sab in /home/sander/.sabnzbd/cache/queue7.sab
2008-10-06 00:01:04,112::INFO::[sabnzbd] Saving data for bytes7.sab in /home/sander/.sabnzbd/cache/bytes7.sab
2008-10-06 00:01:04,113::INFO::[sabnzbd] Saving data for rss_data.sab in /home/sander/.sabnzbd/cache/rss_data.sab
2008-10-06 00:01:04,115::INFO::[downloader] [email protected]:119: Initiating connection
2008-10-06 00:01:04,116::INFO::[sabnzbd.misc] URLGrabber starting up
::ffff:127.0.0.1 - - [06/Oct/2008:00:01:04] "POST /sabnzbd/config/server/addServer HTTP/1.1" 302 - "http://localhost:8080/sabnzbd/config/server/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"



Line above: the POST line where I add www.cisco.com. Result: no downloads anymore. See below:



::ffff:127.0.0.1 - - [06/Oct/2008:00:01:04] "GET /sabnzbd/config/server/ HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/config/server/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
2008-10-06 00:01:04,237::INFO::[downloader] [email protected]:119: Initiating connection
2008-10-06 00:01:04,361::INFO::[downloader] [email protected]:119: Initiating connection
2008-10-06 00:01:04,493::INFO::[downloader] [email protected]:119: Initiating connection
2008-10-06 00:01:04,620::INFO::[downloader] [email protected]:119: Initiating connection
::ffff:127.0.0.1 - - [06/Oct/2008:00:01:06] "GET /sabnzbd/queue/?dummy2=15&dummy=0.5866144934657481 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [06/Oct/2008:00:01:06] "GET /sabnzbd/history/?dummy2=15&dummy=0.2505764052357856 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [06/Oct/2008:00:01:11] "GET /sabnzbd/queue/?dummy2=15&dummy=0.08143781801865013 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [06/Oct/2008:00:01:11] "GET /sabnzbd/history/?dummy2=15&dummy=0.5368100120608423 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"


::ffff:127.0.0.1 - - [06/Oct/2008:00:01:36] "GET /sabnzbd/queue/?dummy2=15&dummy=0.3662840470050145 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [06/Oct/2008:00:01:36] "GET /sabnzbd/history/?dummy2=15&dummy=0.3683762179794444 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [06/Oct/2008:00:01:41] "GET /sabnzbd/queue/?dummy2=15&dummy=0.14010253066799638 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"
::ffff:127.0.0.1 - - [06/Oct/2008:00:01:41] "GET /sabnzbd/history/?dummy2=15&dummy=0.9390825315814281 HTTP/1.1" 200 - "http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092515 Ubuntu/8.10 (intrepid) Firefox/3.0.3"

2008-10-06 00:03:04,717::ERROR::[newswrapper] Failed to connect: timed out [email protected]:119
2008-10-06 00:03:04,718::ERROR::[downloader] Failed to initialize [email protected]:119
2008-10-06 00:03:04,719::WARNING::[downloader] Thread [email protected]:119: failed to initialize
2008-10-06 00:03:04,720::INFO::[downloader] [email protected]:119: Initiating connection

Re: No download at all, both in 0.4.2 and 0.4.4: no download at all with two NZbs in

Posted: October 5th, 2008, 5:12 pm
by sander
Just to be sure it's not SSL nor IPv6 related, one more test:

1) newsreader3.eweka.nl as fucntional server
2) www.cisco.com as non-functional server

Exact the same behavior: as soons as the non-functional server is set to >0 connections, the download stops ... :-(

Re: No download at all, both in 0.4.2 and 0.4.4: no download at all with two NZbs in

Posted: October 5th, 2008, 5:37 pm
by sander
Below is what the logging in the screen is.

Interesting: the functional server gets a "timed out" message, which is probably from downloader.py too:

Code: Select all

            for server in self.servers:
                for nw in server.busy_threads[:]:
                    if nw.timeout and time.time() > nw.timeout:
                        self.__reset_nw(nw, "timed out")
This message is not correct: the functional server is responding and thus there is no real time-out, but SAB *thinks* there is a time-out. Why is this happening?



2008-10-06 00:23:42,889::ERROR::[newswrapper] Failed to connect: timed out [email protected]:119
2008-10-06 00:23:42,890::ERROR::[downloader] Failed to initialize [email protected]:119
2008-10-06 00:23:42,891::WARNING::[downloader] Thread [email protected]:119: failed to initialize
2008-10-06 00:23:42,892::WARNING::[downloader] Thread [email protected]:119: timed out
2008-10-06 00:25:43,889::INFO::[downloader] [email protected]:119: Initiating connection
2008-10-06 00:25:44,011::INFO::[downloader] [email protected]:119: Initiating connection
2008-10-06 00:27:44,113::ERROR::[newswrapper] Failed to connect: timed out [email protected]:119
2008-10-06 00:27:44,114::ERROR::[downloader] Failed to initialize [email protected]:119
2008-10-06 00:27:44,114::WARNING::[downloader] Thread [email protected]:119: failed to initialize
2008-10-06 00:27:44,115::WARNING::[downloader] Thread [email protected]:119: timed out
2008-10-06 00:29:45,113::INFO::[downloader] [email protected]:119: Initiating connection
2008-10-06 00:29:45,239::INFO::[downloader] [email protected]:119: Initiating connection
2008-10-06 00:31:45,337::ERROR::[newswrapper] Failed to connect: timed out [email protected]:119
2008-10-06 00:31:45,338::ERROR::[downloader] Failed to initialize [email protected]:119
2008-10-06 00:31:45,338::WARNING::[downloader] Thread [email protected]:119: failed to initialize
2008-10-06 00:31:45,339::WARNING::[downloader] Thread [email protected]:119: timed out

Re: No download at all, both in 0.4.2 and 0.4.4: no download at all with two NZbs in

Posted: October 6th, 2008, 11:45 am
by vlad59
Just a quick reply to support the topic as I have exactly the same problem.

My background :
Athlon XP 2200
Debian Lenny (up to date)
python 2.5
ipv4 and ipv6 conectivity

I can provide an SSH access if needed to one of the developpers

Re: No download at all, both in 0.4.2 and 0.4.4: no download at all with two NZbs in

Posted: October 6th, 2008, 12:45 pm
by sander
'good' to hear that ;-)

@ SAB-developers:
1) have you tried the super-easy setup of one functional (your own server) and one non-functional server (www.cisco.com)?
2) what platform are you using yourself to run SAB? I'll check on Windows it's not platform (Linux) related.

Re: No download at all, both in 0.4.2 and 0.4.4: no download at all with two NZbs in

Posted: October 6th, 2008, 1:50 pm
by sander
Brrrrrrrrrrrrrrr ...  >:( :( ??? ::) :'(

I tried and can not reproduce this problem on Windows XP ... !

On Windows XP, with one functional and one non-functional server, the download just goes on and SAB nicely reports the time-out of the non-functional server.

So the problem is platform related. Now what? I guess SABnzbd itself is exactly the same on each OS, so apparently it's not (just) SAB, but OS-related (or Python-on-OS related?)


Connections

    * www.cisco.com:119: 0
    * newsreader3.eweka.nl:119: 1
          o Thread #1 -> 48d543bb$1$21296$[email protected] -> ubuntu-8.04.1-desktop-i386.iso -> ubuntu-8.04.1-desktop-i386.iso.nzb

Last warnings (clear)
2008-10-06 20:33:40,828 WARNING [downloader] Thread [email protected]:119: timed out
2008-10-06 20:33:40,828 WARNING [downloader] Thread [email protected]:119: timed out
2008-10-06 20:34:02,467 ERROR [newswrapper] Failed to connect: (10060, 'Operation timed out') [email protected]:119
2008-10-06 20:34:02,467 ERROR [newswrapper] Failed to connect: (10060, 'Operation timed out') [email protected]:119
2008-10-06 20:35:41,217 WARNING [downloader] Thread [email protected]:119: timed out
2008-10-06 20:35:41,217 WARNING [downloader] Thread [email protected]:119: timed out
Download Dir: 30.84 GB - Complete Dir: 30.84 GB - Download speed: 531.44 KB/s - Queued: 578.85/717.25 MB
WARNINGS(6)!
SAB: Q: 578/717 MB  Comp: 30.84 GB

Re: No download at all, both in 0.4.2 and 0.4.4: no download at all with two NZbs in

Posted: October 6th, 2008, 3:47 pm
by shypike
Don't get overboard in testing and generating evidence.
When testing on Vista with the cisco-fake-server and a real-giganews server,
I do not get the problem you seem te get.

However:
We are pursuing a clue now, having to do with SABnzbd getting into trouble
with the mix of a missing article and an unresponsive server.
The issue is: when none of the working servers have an article, SABnzbd will
get stuck on the fake (or offline) server, because it never gets told
that the article does not exist. Instead it retries the last available (but non-fucntioning)
server forever.

Other that that, my Vista, XP and Linux test systems have no trouble handling
non-functioning servers.