Article View: news.software.nntp
Article #9770Re: Error: 437 No colon-space
From: Andrew Sun
Date: Tue, 30 Jul 1996 00:00
Date: Tue, 30 Jul 1996 00:00
67 lines
2860 bytes
2860 bytes
I've seen this problem.
It is a bug with the nntpget code.
Also, several news articles (I believe 2 for each error)
will get lost due to this too.
The problem occurs when the sending site
responds with an error to an article request from nntpget.
(the article expired/cancelled before we were able to retrieve it).
At this point, our local inn is expecting the article itself.
Nntpget sends a ". CR LF" to the local inn to
close out the article, but forgets to read the local inn's reply.
Now the state machine between inn and nntpget is no longer
consistent (out of sync) causing further article loss, etc.
You'll have to fix the nntpget code.
Here is the fix I've used:
if (atoi(buff) != NNTP_ARTICLE_FOLLOWS_VAL) {
if (Offer) {
(void)SITEwrite(Local, ".", 1);
if (!SITEread(Local, buff)) {
(void)fprintf(stderr, "No reply after \"%s\", %s\n",
mesgid, strerror(errno));
(void)printf("%s\n", mesgid);
break;
}
}
continue;
}
There is also the documented "truncates lines at 512 bytes"
(see man page) bug with nntpget that will also cause usual problems,
with long path or newsgroup header lines.
Unfortunately, this one is not trivial to fix.
Andrew
Butch Kemper wrote:
>
> I am using nntpget to pull down the microsoft.* articles. The job runs
> from cron and I am getting this error message:
>
> > 437 No colon-space in "ihave <01bb7af8$8bcbfbe0$3f9d88cd@rmctyre.ppp>"
> > header to "<01bb7af8$8bcbfbe0$3f9d88cd@rmctyre.ppp>"
>
> I looked through the FAQ and didn't find anything that would help. It
> appears that this message comes from art.c bu I'm not a "C" programmer so
> that is the limit of my debugging.
>
> Can someone help?
>
> Thanks.
>
> Butch
>
> --
> Butch Kemper | Free sound advice available
> Brazos Information Highway Services | "95% sound and 5% advice"
> 409-693-9336 | Refunds cheerfully provided
Technical Details
Message-ID:
<31FE7773.4B73@ieps-sun.ml.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<kemper-2607962234470001@news.bihs.net>Show Full Headers
Complete Article Headers
Message-ID: <31FE7773.4B73@ieps-sun.ml.com> Subject: Re: Error: 437 No colon-space Date: Tue, 30 Jul 1996 00:00:00 +0000 From: Andrew Sun <asun@ieps-sun.ml.com> References: <kemper-2607962234470001@news.bihs.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 171131400 To: Butch Kemper <kemper@bihs.net> Cc: asun@ieps-sun.ml.com Content-type: text/plain; charset=us-ascii Organization: Merrill Lynch Mime-version: 1.0 Newsgroups: news.software.nntp X-mailer: Mozilla 2.01 (X11; I; SunOS 5.5 sun4m)