🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #9327

Lost connection to NNTP server XYZ: Connection reset by peer

#9327
From: Andrew Gaylard
Date: Thu, 04 Nov 1999 00:00
27 lines
1368 bytes
Hi nn people,

I get this error from time to time:

Lost connection to NNTP server news.is.co.za: Connection reset by peer

I suspect that it is because NNTP is timing out, perhaps because of a long
time spent reading an article, or something similar.  When it occurs, nn
exits with extreme prejudice.

Is there anything I can do about it?

I am willing to delve into the source, but where do I start?  I imagine
that there is a read on a socket which fails;  a re-connect should do
it, but reconnecting in a tight loop might be a problem (i.e. it would
hammer the server's NNRP daemon).  So a counter would be needed, so that
the number of reconnection attempts would be limited.  Any comments?

(Michael, how's nn-7.x coming along?)

Thanks
--
-- 
Andrew Gaylard
andrewg @ bsw . co . za

Technical Details
Message-ID: <38215127$0$48232@helios.is.co.za>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <38215127$0$48232@helios.is.co.za>
Subject: Lost connection to NNTP server XYZ: Connection reset by peer
Date: Thu, 04 Nov 1999 00:00:00 +0000
From: andrewg@no.spam.please.bsw.co.za (Andrew Gaylard)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 544317652
X-Trace: helios.is.co.za 941707559 48232 196.38.213.1
Newsgroups: news.software.nn