🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #71806

Re: 502 error?

#71806
From: Rev. Bob 'Bob' Crispen
Date: Sun, 11 Feb 2001 09:51
41 lines
2934 bytes
The kindly Rev. overheard xjahn@netscape.net (Christopher Jahn)
saying on 10 Feb 2001: 

>500 codes are always the server side, not the client side.
>Contact the server administrator.

OK, they're server side, but they're standard, for all the world to 
see: <http://www.ietf.org/rfc/rfc0977.txt?number=977>, which says:

    	502 access restriction or permission denied

What happens is that when your newsreader sends the news server a GROUP 
(or a LIST NEWSGROUPS) message, if the server requires a login, it will 
send back a 480 (authorization required).  Then your newsreader will 
generally send an AUTHINFO USER with your username and await further 
developments.  If the news server likes the username, it sends a 381 
(more authorization required) and your newsreader sends it a AUTHINFO 
PASS with your password.

The news server is free to send a 381 even if it doesn't like your 
username.  The news server can require authorization for other commands 
as well, but usually a newsreader will hit it first with a GROUP or 
LIST NEWSGROUPS, so that doesn't come up very often.

If the news server likes both the user name and password, it sends back 
a 281 (authorization OK) and your newsreader is free to send the GROUP 
or LIST NEWSGROUPS command again.  If the news server dislikes either 
the login or password, it sends a 502.

Some newsreaders don't like to follow this path and, when the user has 
specified a login, send the AUTHINFO USER as soon as they connect, and 
if the news server doesn't want logins, it can send a 502 in reply, and 
the newsreader reports it back to you.  I personally prefer to do it 
the way I described above, but that doesn't mean that everybody who 
writes newsreaders feels the same way.
-- 
Rev. Bob "Bob" Crispen
crispen at hiwaay dot net

The blues are not about limitless choice.
Technical Details
Message-ID: <Xns9045277EEF9E2revbob@63.210.103.21>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!feeder.via.net!newshub2.rdc1.sfba.home.com!news.home.com!news-sjo.usenetserver.com!news-out.usenetserver.com!e3500-chi1.usenetserver.com.POSTED!not-for-mail
References: <3A857A6D.FC2F7DE2@sympatico.ca> <Xns9044B9068B36Fxjahn@24.129.0.130>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9045277EEF9E2revbob@63.210.103.21>
Subject: Re: 502 error?
Date: Sun, 11 Feb 2001 09:51:25 GMT
From: revbob@the.rectory (Rev. Bob 'Bob' Crispen)
References: <3A857A6D.FC2F7DE2@sympatico.ca> <Xns9044B9068B36Fxjahn@24.129.0.130>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!feeder.via.net!newshub2.rdc1.sfba.home.com!news.home.com!news-sjo.usenetserver.com!news-out.usenetserver.com!e3500-chi1.usenetserver.com.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: http://home.hiwaay.net/~crispen/
User-Agent: Xnews/M3
Lines: 40
X-Complaints-To: abuse@usenetserver.com
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly.
NNTP-Posting-Date: Sun, 11 Feb 2001 04:51:25 EST