Article View: news.software.nn
Article #10927Re: [nn] timing out
From: Matthew Clarke
Date: Sun, 30 Aug 2009 00:50
Date: Sun, 30 Aug 2009 00:50
62 lines
3978 bytes
3978 bytes
Rockinghorse Winner <rockinghorse@deadtime.com> writes: >While browsing news.software.nn I came across this interesting post by Matthew Clarke (clamat@telus.net) > (Possibly *snipped* for brevity): > >> Wolfgang.Schelongowski@gmx.de (Wolfgang Schelongowski) writes: >> >>>Whiskers <catwheezel@operamail.com> writes: >>> >>>>On 2009-08-22, Rockinghorse Winner <rockinghorse@deadtime.com> wrote: >>>>> Is there a way to prevent nn (6.7.3-1) from timing out after a brief period >>>>> (< 10 minutes) of inactivity? The result is that any keypress causes the >>>>> program to abruptly terminate. >>>> >>>>There don't seem to be many users of nn these days. Presumably you know >>>>about <http://www.nndev.org/> >>>><http://www.ii.com/internet/messaging/nn/> >>>><http://www.nbcs.rutgers.edu/newdocs/unx01601/unx01601.php3> >>>><http://www.nbcs.rutgers.edu/newdocs/unx01401/unx01401.php3> >>> >>>And nn has its own newsgroup, news.software.nn, where maintainers of >>>nn would read what R. Winner had written. >> >> [ snip ] >> >> And users of nn, even. There are still some of us around. I don't know >> of any setting that will cause nn to time out that way, though. Here, (NN >> 6.7.3 on OpenBSD/i386-current), if I leave nn idle and then come back to >> it, it just shows "Reconnecting" in the bottom corner, sits for a second >> or two while it re-establishes the connection to the NNTP server, then >> picks up where it left off. >> >> Are you using nn with an NNTP server or a local news spool? If an NNTP >> server: If you tcpdump the connection, does nn try to reconnect (and >> fail) after being idle, or does it terminate without trying to reconnect? >> >> Matt. > >Hi, Matt. I am getting an error 400 from the newsserver (news.octanews.com) >when it times out like this. I didn't notice anything when running tcpdump. RFC 3977 says, in section 3.2.1 [Generic Response Codes]: "If the server has to terminate the connection for some reason, it MUST give a 400 response code to the next command and then immediately close the connection. Following a 400 response, clients SHOULD NOT simply reconnect immediately and retry the same actions. Rather, a client SHOULD either use an exponentially increasing delay between retries (e.g., double the waiting time after each 400 response) or present any associated text to the user for them to decide whether and when to retry." If the server isn't sending any text with the 400 response, only the server administrator will be able to tell you why it's closing the connection. If the server is sending explanatory text with that 400, you should be able to have NN show it to you by setting NN's "nntp-debug" variable to "true". Matt. -- Snappy Quote: "abcdefghijklmnopqrstuvwxyz"* *some assembly required
Technical Details
Message-ID:
<_0kmm.41503$Db2.18312@edtnps83>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!news.glorb.com!news2.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps83.POSTED!7564ea0f!not-for-mailReferences:
<slrnh90g0k.89r.rockinghorse@deadtime.com> <slrnh90lga.c2c.catwheezel@ID-107770.user.individual.net> <h6s92v$m6h$1@ID-102910.user.uni-berlin.de> <7QDkm.40530$Db2.31434@edtnps83> <slrnh9ak6a.6n9.rockinghorse@deadtime.com>Show Full Headers
Complete Article Headers
Message-ID: <_0kmm.41503$Db2.18312@edtnps83> Subject: Re: [nn] timing out Date: Sun, 30 Aug 2009 00:50:02 GMT From: Matthew Clarke <clamat@telus.net> References: <slrnh90g0k.89r.rockinghorse@deadtime.com> <slrnh90lga.c2c.catwheezel@ID-107770.user.individual.net> <h6s92v$m6h$1@ID-102910.user.uni-berlin.de> <7QDkm.40530$Db2.31434@edtnps83> <slrnh9ak6a.6n9.rockinghorse@deadtime.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!news.glorb.com!news2.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps83.POSTED!7564ea0f!not-for-mail Newsgroups: news.software.nn User-Agent: nn/6.7.3 Lines: 62 NNTP-Posting-Host: 99.199.43.17 X-Trace: edtnps83 1251593402 99.199.43.17 (Sat, 29 Aug 2009 18:50:02 MDT) NNTP-Posting-Date: Sat, 29 Aug 2009 18:50:02 MDT