Bug#318644: leafnode: fetchnews hangs when there is a out.going message
Matthias Andree [EMAIL PROTECTED] schreef: | Jul 16 19:51:41 qwerty fetchnews[24124]: STAT [EMAIL PROTECTED] | Jul 16 19:56:41 qwerty fetchnews[24124]: (ERROR: timeout - no response in 300 s) | Jul 16 19:56:41 qwerty fetchnews[24124]: error: NNTP server went away (server disconnect or timeout) Apparently a server problem - the server doesn't respond to a STAT command. I do not have access to news.easynews.be - please connect with telnet news.easynet.be 119 and try the STAT command as quoted above. I had already tried that, it was included in my previous mail. I have also tried to directly type the commands in telnet : | pts/6 jan ~$ telnet news.easynet.be 119 | Trying 2001:6f8:200:1::5:126... | Trying 212.100.160.126... | Connected to reader0.news.be.easynet.net. | Escape character is '^]'. | 200 Welcome on Easynet Belgium's news server (posting ok) | MODE READER | 200 Welcome on Easynet Belgium's news server (posting ok) | GROUP be.test | 211 28719 103614 132332 be.test | STAT [EMAIL PROTECTED] | 430 No such article | quit | 205 Transferred 172 bytes in 0 articles, 1 group. Disconnecting. | Connection closed by foreign host. How-ever, I have just tried again to post a message in a newsgroup and everything works fine now. So, it's ok for me to close this bug. If the server doesn't respond with exactly one line in a few seconds, report this to the easynews support. Ok, I will tell easynet-support that I have had this problem. Anyway, thanks for your time and the quick answer! :-) -- Met vriendelijke groetjes - Jan Wagemakers - ... When we speak of free software, we are referring to freedom, not price. -- GNU GENERAL PUBLIC LICENSE Version 2, June 1991 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#318644: leafnode: fetchnews hangs when there is a out.going message
On Sa, 16 Jul 2005, Jan Wagemakers wrote: | Jul 16 19:51:41 qwerty fetchnews[24124]: STAT [EMAIL PROTECTED] | Jul 16 19:56:41 qwerty fetchnews[24124]: (ERROR: timeout - no response in 300 s) | Jul 16 19:56:41 qwerty fetchnews[24124]: error: NNTP server went away (server disconnect or timeout) Apparently a server problem - the server doesn't respond to a STAT command. I do not have access to news.easynews.be - please connect with telnet news.easynet.be 119 and try the STAT command as quoted above. If the server doesn't respond with exactly one line in a few seconds, report this to the easynews support. Exit from telnet with Ctrl+], then q, then Enter. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#318644: leafnode: fetchnews hangs when there is a out.going message
On Mon, 18 Jul 2005, Jan Wagemakers wrote: Matthias Andree [EMAIL PROTECTED] schreef: | Jul 16 19:51:41 qwerty fetchnews[24124]: STAT [EMAIL PROTECTED] | Jul 16 19:56:41 qwerty fetchnews[24124]: (ERROR: timeout - no response in 300 s) | Jul 16 19:56:41 qwerty fetchnews[24124]: error: NNTP server went away (server disconnect or timeout) Apparently a server problem - the server doesn't respond to a STAT command. I do not have access to news.easynews.be - please connect with telnet news.easynet.be 119 and try the STAT command as quoted above. I had already tried that, it was included in my previous mail. Sorry - I had missed that. I checked the code again, and still see no reason why leafnode would do anything wrong here. I'll accelerate the way out though for the next release, a single timeout here should skip to the next server or quit immediately rather than hanging for 4 * timeout_fetchnews. Consider setting timeout_fetchnews to a lower value, say, 30 (seconds that is) for the nonce. How-ever, I have just tried again to post a message in a newsgroup and everything works fine now. So, it's ok for me to close this bug. Perhaps, if they are load balancing, one of their servers might be faulty. -- Matthias Andree -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#318644: leafnode: fetchnews hangs when there is a out.going message
Package: leafnode Version: 1.11.3.rel-2 Severity: normal 1. short version : -- On my PC, fetchnews 'hangs'[1] when there is an out-going message in /var/spool/news/out.going/. When I erase the file(s) in /var/spool/news/out.going/ fetchnews works without a problem. When I use slrn and connect directly to 'news.easynet.be' without using leafnode, I can post without a problem. 2. long version : - [1] It really doesn't hang, when I wait long enough (severall minutes) I get some time-out errors. This is what I get (syslog) after waiting ±20 minutes: | Jul 16 19:51:37 qwerty fetchnews[24124]: config: debugmode is 1 | Jul 16 19:51:37 qwerty fetchnews[24124]: config: server is news.easynet.be | Jul 16 19:51:37 qwerty fetchnews[24124]: config: expire is 30 days | Jul 16 19:51:37 qwerty fetchnews[24124]: config: maxfetch is 2000 | Jul 16 19:51:40 qwerty fetchnews[24124]: leafnode 1.11.3.rel: verbosity level is 15, debugmode is 1 | Jul 16 19:51:40 qwerty fetchnews[24124]: try_lock(timeout=5), fqdn=qwerty.be | Jul 16 19:51:41 qwerty fetchnews[24124]: Last LIST done 891436 seconds ago: NEWGROUPS | Jul 16 19:51:41 qwerty fetchnews[24124]: 200 Welcome on Easynet Belgium's news server (posting ok) | Jul 16 19:51:41 qwerty fetchnews[24124]: news.easynet.be: connected to 212.100.160.126:119, reply: 200 | Jul 16 19:51:41 qwerty fetchnews[24124]: MODE READER | Jul 16 19:51:41 qwerty fetchnews[24124]: 200 Welcome on Easynet Belgium's news server (posting ok) | Jul 16 19:51:41 qwerty fetchnews[24124]: GROUP be.test | Jul 16 19:51:41 qwerty fetchnews[24124]: 211 28719 103614 132332 be.test | Jul 16 19:51:41 qwerty fetchnews[24124]: STAT [EMAIL PROTECTED] | Jul 16 19:56:41 qwerty fetchnews[24124]: (ERROR: timeout - no response in 300 s) | Jul 16 19:56:41 qwerty fetchnews[24124]: error: NNTP server went away (server disconnect or timeout) | Jul 16 19:56:41 qwerty fetchnews[24124]: news.easynet.be: postarticles: trying to post file 20549-1121530627-1 Message-ID [EMAIL PROTECTED] | Jul 16 19:56:41 qwerty fetchnews[24124]: POST | Jul 16 20:01:41 qwerty fetchnews[24124]: (ERROR: timeout - no response in 300 s) | Jul 16 20:01:41 qwerty fetchnews[24124]: error: NNTP server went away (server disconnect or timeout) | Jul 16 20:01:41 qwerty fetchnews[24124]: news.easynet.be: postarticles: server disconnect or timeout while trying to post file 20549-1121530627-1) | Jul 16 20:01:41 qwerty fetchnews[24124]: DATE | Jul 16 20:06:41 qwerty fetchnews[24124]: (ERROR: timeout - no response in 300 s) | Jul 16 20:06:41 qwerty fetchnews[24124]: error: NNTP server went away (server disconnect or timeout) | Jul 16 20:06:41 qwerty fetchnews[24124]: check_date: news.easynet.be: does not support DATE, reply 498, expected 111 | Jul 16 20:06:41 qwerty fetchnews[24124]: NEWGROUPS 050716 174250 GMT | Jul 16 20:11:41 qwerty fetchnews[24124]: (ERROR: timeout - no response in 300 s) | Jul 16 20:11:41 qwerty fetchnews[24124]: error: NNTP server went away (server disconnect or timeout) | Jul 16 20:11:41 qwerty fetchnews[24124]: news.easynet.be: reading new newsgroups failed, reason server disconnect or timeout | Jul 16 20:11:41 qwerty fetchnews[24124]: news.easynet.be: reading server info from /var/spool/news/leaf.node/news.easynet.be | Jul 16 20:11:41 qwerty fetchnews[24124]: Merging in /var/spool/news/leaf.node/news.easynet.be~ from previous run | Jul 16 20:11:41 qwerty fetchnews[24124]: GROUP be.comp.os.unix | Jul 16 20:16:41 qwerty fetchnews[24124]: (ERROR: timeout - no response in 300 s) | Jul 16 20:16:41 qwerty fetchnews[24124]: error: NNTP server went away (server disconnect or timeout) | Jul 16 20:16:41 qwerty fetchnews[24124]: Warning: aborting fetch from news.easynet.be due to previous condition. | Jul 16 20:16:41 qwerty fetchnews[24124]: QUIT | Jul 16 20:16:42 qwerty fetchnews[24124]: wrote active file with 48361 lines | Jul 16 20:16:42 qwerty fetchnews[24878]: Process forked. | Jul 16 20:16:42 qwerty fetchnews[24124]: child has process ID 24878 | Jul 16 20:16:43 qwerty fetchnews[24878]: Process done. This is the file I have at the moment in /var/spool/news/out.going/ : | pts/6 jan ~$ cat /var/spool/news/out.going/20549-1121530627-1 | Newsgroups: be.test | From: Jan Wagemakers [EMAIL PROTECTED] | Subject: Re: post test | References: [EMAIL PROTECTED] [EMAIL PROTECTED] | Message-ID: [EMAIL PROTECTED] | User-Agent: slrn/0.9.8.1 (Debian) | Path: qwerty.be!news | Date: Sat, 16 Jul 2005 18:17:07 +0200 | | Hitman schreef: | | post test | je bent de postzegel vergeten | | Postzegel is het probleem niet ;-) | | Het is fetchnews dat moeilijk doet... | | | -- | Met vriendelijke groetjes - Jan Wagemakers - | | - Debian GNU/Linux testing/unstable - I have also tried to directly type the commands in telnet : | pts/6 jan ~$ telnet news.easynet.be 119 | Trying 2001:6f8:200:1::5:126... | Trying