Article View: news.software.readers
Article #61481Problems with LIST ACTIVE Closing Connection
From: Nick Knight
Date: Fri, 12 May 2000 00:00
Date: Fri, 12 May 2000 00:00
63 lines
3949 bytes
3949 bytes
Hi. I've had a nagging, sporadic problem with my code that collects the list of active news groups. I'll try to describe it briefly, but some detail is required. I'm looking for better/different ways to acquire a COMPLETE list of available newsgroups. On newsservers with LARGE lists, there seems to be (sometimes?) a tendency for the newsserver to close the connection, without any code/message either before any of the list is sent, or shortly after it starts. I am experiencing this myself (but am more worried about other-user reports). When at work, over a full T1 connection and fast local network, LIST ACTIVE returns a complete list dependably, over and over again. Using dial-up (with work as the provider), I get disconnected after receiving a very small portion of the list. However, on occassion, the list will come across fine! I have tried various mutations of this logic. My current code walks through the alphabet and gets LIST ACTIVE for a*, b*, etc., making provisions for non-alphabetic starts. This has improved things with the slow connection, except the a* list disconnects. Easy to see that this contains the largest number of groups (all the alt.*'s plus many more). So I broke it down to walk through the a*'s in steps. It collects the alt.* heirarcy alphabetically (alt.a*, alt.b*, etc). Wouldn't you know, it disconnects repeatedly getting alt.c*. I have added a retry looped, and it on some troublesome patters it will eventually succeed, but after 25 retries, "alt.c*" just fails. I'm behind a firewall, and I'm not sure if I'm seeing the actual server banner or a filtered copy, but it doesn't identify itself to me via telnet. All I get is "200 NNTP Server ready (posting ok)" [Using another machine, I see I'm accessing something called Typhoon v1.2.2, and yes, through a proxy :)] NOTE that I'm not really reporting a unique problem with my server, but I've got enough user reports of this happening that I know it's not uncommon. Users often report that "other products" get the list fine. Then I've had reports that my program and another fails, but Netscape fetches a complete list fine. So, I'm guessing there's a better way to do this, or perhaps a different way. Can anyone explain what the problem really is? Is it the size of the resulting list? Is it somehow dependent on connection speed (it seems to be, but I can't imagine how)? Why would a newsserver (predictably) disconnect in the middle of transmitting data, without any message or code? (It will disconnect quickly when I telnet in and type "LIST ACTIVE"). Is this one particular newsserver with a known problem? Is it an issues with server load and time-of-day (I have a better success rate testing in early morning US-time than in the evening)? It seems 85-90% of my users see none of this. But 10-15% with problems, including myself, is too large a number to claim "odd circumstances". Thanks in advance, Nick -- ----------------------------------------------------------- Nick Knight <nick@secant.com> http://nick.secant.com Senior Software Engineer Secant Technologies, Inc. http://www.secant.com -----------------------------------------------------------
Technical Details
Message-ID:
<391c1c8e$3$avpx$mr2ice@client.ce.news.psi.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <391c1c8e$3$avpx$mr2ice@client.ce.news.psi.net> Subject: Problems with LIST ACTIVE Closing Connection Date: Fri, 12 May 2000 00:00:00 +0000 From: Nick Knight <nick@secant.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 622579827 X-Trace: client 958143733 38.194.130.2 (Fri, 12 May 2000 11:02:13 EDT) NNTP-Posting-Date: Fri, 12 May 2000 11:02:13 EDT Newsgroups: alt.usenet.offline-reader,news.software.readers