Re: how to make noffle NOT switch to offline mode on "Server connection failed or newsbase problem. Leaving online mode."?

Miernik <[email protected]> Mon, 27 Jan 2003 14:13:56 +0100
Newsgroups gmane.network.noffle.user
Message-ID <[email protected]>
On Mon, Jan 27, 2003 at 12:57:55PM -0000, Jim Hague wrote:
> > Jan 27 01:16:12 tarnica noffle[5190]: [R] 503 Timeout after 10 seconds,
> > closing connection.
> 
> By default Noffle will time out the connection if it has to wait more than 30s
> for the initial connection to complete or for a reply to a command to be
> received.
> 
> You can change this timeout by setting the connect-timeout config file
> parameter. The manual page is not as clear as it should be; this timeout
> applies to more than just the initial connection.

I have:
connect-timeout 300

That is not the timeout of noffle, but a 10 second receive timeout at
the upstream server, which I can't change. 

> You can't force it not to switch to offline mode. Noffle take the view that if
> the connection failed, something is pretty seriously wrong with your network
> connection or the server, and it should take action to ensure it doesn't keep
> pointlessly retrying. So it resets itself back to a mode where user action is
> required to initiate more network activity.

But here the _only_ thing that was wrong, was that the upstream server
disconnected me because of it's 10 second receive timeout.  There is
nothing more wrong. 

Retrying isn't pointless, because at the next, or second next try it
will manage to transmitt packets to the upstream server without a 10
second gap. The timeout here happens only during the initial connection,
after that I can have gaps of more than 10 seconds without the upstream
server timeouting. 

When I take action manually, there is nothing more I do than issue
noffle -n as root and try fetching the article again. But that is very
annoying having to issue noffle -n after each timeout (which happens on
roughly 50% of article fetching tries). 

> It would also save the 'MODE READER' transaction and re-authenticating if the
> upstream server required authenticating.
> 
> I'll put it on the TODO list, but it's not that easy to do given Noffle's
> present structure.

Thanks! 

P.S. You dont have to send messages both to the list and to me, it's
enough to send it to the list, I get it anyway. 

-- 
    Miernik          ____________________________________________________
___ ICQ: 4004001 ___/___ tel.: +48608233394 ___/  mailto:[email protected]
No Iraq war! http://www.globalexchange.org/campaigns/iraq/invadeIraq082702.html
Please call the White House +1-202-456-1111 or fax +1-202-456-2461 and say no!
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+NTCTef2MJBeMWJ0RAtX+AJ9a2i22N+nohZLbVhtYz5y+CyLsCACdGO8c
sH+vggkK20HsNbPE35Qgmsw=
=kadO
-----END PGP SIGNATURE-----