From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs 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 Message-ID: <87ft2xj7oh.fsf@gnus.org> References: <87a6tb6aho.fsf@lrde.epita.fr> <87zh15mog7.fsf@gnus.org> <87wnw9e51c.fsf@lrde.epita.fr> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11493"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 45855@debbugs.gnu.org To: Alexandre Duret-Lutz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 19 15:58:22 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l1sSc-0002q5-3z for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Jan 2021 15:58:22 +0100 Original-Received: from localhost ([::1]:57858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l1sSb-0007Jj-61 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Jan 2021 09:58:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1sSI-0007He-JS for bug-gnu-emacs@gnu.org; Tue, 19 Jan 2021 09:58:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l1sSI-0007Ts-4i for bug-gnu-emacs@gnu.org; Tue, 19 Jan 2021 09:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l1sSI-0007JD-4O for bug-gnu-emacs@gnu.org; Tue, 19 Jan 2021 09:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Jan 2021 14:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 45855-submit@debbugs.gnu.org id=B45855.161106826628050 (code B ref 45855); Tue, 19 Jan 2021 14:58:02 +0000 Original-Received: (at 45855) by debbugs.gnu.org; 19 Jan 2021 14:57:46 +0000 Original-Received: from localhost ([127.0.0.1]:51200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1sS2-0007IM-Ds for submit@debbugs.gnu.org; Tue, 19 Jan 2021 09:57:46 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:60518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1sS0-0007I1-F9 for 45855@debbugs.gnu.org; Tue, 19 Jan 2021 09:57:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=OaKEzEI3RjHPxXAAz3o4tCx7e3cEhHpXT8jLSw43oy8=; b=lS0dKOU4ctUHb5cDf+dJcw+LzG DEU2yLvU1lK8bAuboPVOZmLwdAYJRJTWA3uEwTDyheW9jHr6YcNRhm/6iIJYnyPmnERr9TEYImGyN cX6TKdiT5oZ07PM21lt4uWrWoZuLgqaLgtPtmyvtKJaMsdox8Nixt+sPtWK+439II8oI=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l1sRr-0001JR-Jc; Tue, 19 Jan 2021 15:57:38 +0100 X-Now-Playing: Jean-Louis Huhta's =?UTF-8?Q?=5FH=C3=A4lsningar_?= =?UTF-8?Q?fr=C3=A5n?= skogen_: "Each Day" In-Reply-To: <87wnw9e51c.fsf@lrde.epita.fr> (Alexandre Duret-Lutz's message of "Tue, 19 Jan 2021 08:53:35 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:198164 Archived-At: Alexandre Duret-Lutz writes: > Lars Ingebrigtsen 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