unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Alexandre Duret-Lutz <adl@lrde.epita.fr>
Cc: 45855@debbugs.gnu.org
Subject: bug#45855: 28.0.50; gnus does not start if one of the nntp backend fails to authenticate
Date: Tue, 19 Jan 2021 15:57:34 +0100	[thread overview]
Message-ID: <87ft2xj7oh.fsf@gnus.org> (raw)
In-Reply-To: <87wnw9e51c.fsf@lrde.epita.fr> (Alexandre Duret-Lutz's message of "Tue, 19 Jan 2021 08:53:35 +0100")

Alexandre Duret-Lutz <adl@lrde.epita.fr> writes:

> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> So I'm unable to reproduce this problem.  Does (setq debug-on-error t)
>> give you a backtrace?
>
> Here:
>
> Debugger entered--Lisp error: (nntp-authinfo-rejected . "Password rejected")
>   signal(nntp-authinfo-rejected "Password rejected")

Thanks.  This error was signalled from a different part of nntp.el than
when I tested with my setup, but using yours, I was able to reproduce
it easily enough.

This should now be fixed in Emacs 28.  The problem seems to be that we
have a special `nntp-authinfo-rejected' error condition that sounds like
it should be used here, but it shouldn't, because that'll make Gnus
startup totally fail, as you say.  Looking at when the error condition
was introduced (in 2015), it was meant for a different case:

       * lisp/gnus/nntp.el (nntp-end-of-line): Doc fix.
       (nntp-authinfo-rejected): New error condition.
       (nntp-wait-for): Use new error condition to signal authentication
       error.
       (nntp-retrieve-data): Rethrow new error condition to break out of
       recursive call to nntp-send-authinfo.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2021-01-19 14:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-14 11:09 bug#45855: 28.0.50; gnus does not start if one of the nntp backend fails to authenticate Alexandre Duret-Lutz
2021-01-19  6:27 ` Lars Ingebrigtsen
2021-01-19  7:53   ` Alexandre Duret-Lutz
2021-01-19 14:57     ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ft2xj7oh.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=45855@debbugs.gnu.org \
    --cc=adl@lrde.epita.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).