From unknown Fri Aug 15 20:54:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45855: 28.0.50; gnus does not start if one of the nntp backend fails to authenticate Resent-From: Alexandre Duret-Lutz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jan 2021 11:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 45855@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161062257215025 (code B ref -1); Thu, 14 Jan 2021 11:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jan 2021 11:09:32 +0000 Received: from localhost ([127.0.0.1]:37299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l00VP-0003uH-TY for submit@debbugs.gnu.org; Thu, 14 Jan 2021 06:09:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:50070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l00VN-0003u8-TF for submit@debbugs.gnu.org; Thu, 14 Jan 2021 06:09:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l00VN-0003iM-Mc for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2021 06:09:29 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:55328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l00VL-00074L-S2 for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2021 06:09:29 -0500 Received: by mail-wm1-x32f.google.com with SMTP id c124so4157504wma.5 for ; Thu, 14 Jan 2021 03:09:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version; bh=9/CJy7KO/zAK7SWug4q+Ot+J9c1BIAIt7QarX2cNw6Y=; b=Idt6sxdZ9Jx+Ruwrtp1/pZRAejQXxtuMrlDHwzMhODRr1d6ts+np0x+CCSk7FDcmO+ 64srPJV12BW70XIoLjishgTQA6yU98eqv8+mKlgqcUZHLUZpTSpciDpcrW01efTxQ6Xc Tfqcwh0v0uoYGplVTAo4VJ75125/kvKjBLPAdMmp4MnrOXw5KW4iJ3P1qoO0i4jj6m9+ Lq5U2SvNQUhwDapuWYsCeb5EQB7GtPlm7VaA8Vs+jhjW43nKpQ664H3BMlFE+jAUxlJ2 m8yLeSzr2gsoHctkIg58RExtKe5n7NWNZAzw8DKu50thcxEvkxCh6Mb299DKYLCjWyDT Tc/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version; bh=9/CJy7KO/zAK7SWug4q+Ot+J9c1BIAIt7QarX2cNw6Y=; b=dzrhTu0RG9xZozs1nkL/AAUUzO++z8m9hw8wfeInzJP/e1VMl6C+6S38bt4vAQ3TVS OqEqqHRICzN/2N5kt42D1lBwO3BId6h/p7zs4f9CMASuailB2LOi/1s8ticErRVdUY9A wXRQlPfntNk3+XVRP85M5otii5/QGxt7Q77/vSGFcq9VM95oTkBoGRY8PHFHSB5DisK7 0qlInUnYFusPjVTKplVlq0ENJohd2hc/gC4ExyzSQWTURUT8vOhcbnjeSft8BsjQFsQ5 2ecDH4FJ5+HNQpQnmmmk3MmA2PwELqUDcYy5fAwrbtUOFdsIXD6rNrWP+U+vd2C/CLIC IVlQ== X-Gm-Message-State: AOAM533pgC9W1i+6xrGcugO2/YXiWa10LOdLfQQ3ijvw/rcY4PFB0JvV XB/dvwh2r4QN44aSXxYwk9jW6pOUKFO3lQ== X-Google-Smtp-Source: ABdhPJy4OmZ2qBuULU1zO1mzfRMzEcZuerZbtwzcU+2UZRdKkvwoT8/j1aFF8TBr4VpvPUfw/+oSTQ== X-Received: by 2002:a05:600c:1549:: with SMTP id f9mr3494637wmg.61.1610622566065; Thu, 14 Jan 2021 03:09:26 -0800 (PST) Received: from goulash (89-109-190-109.dsl.ovh.fr. [109.190.109.89]) by smtp.gmail.com with ESMTPSA id t16sm7950751wmi.3.2021.01.14.03.09.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jan 2021 03:09:25 -0800 (PST) From: Alexandre Duret-Lutz Date: Thu, 14 Jan 2021 12:09:23 +0100 Message-ID: <87a6tb6aho.fsf@lrde.epita.fr> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=aduret@gmail.com; helo=mail-wm1-x32f.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, WEIRD_PORT=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Hi, I'm using a setup like this: (setq gnus-select-method '(nnnil "")) (setq gnus-secondary-select-methods '((nntp "news.epita.fr") (nnmaildir "mymail" (directory "~/.mail/mymail/")) (nntp "news.lrde.epita.fr" (nntp-open-connection-function nntp-open-ssl-stream) (nntp-port-number 563) (nntp-address "news.lrde.epita.fr")) )) Two days ago the server news.lrde.epita.fr:563 was badly configured, and would fail to initiate the TLS connection. During the startup of Gnus, I would see a message like > Warning: Opening nntp server on news.lrde.epita.fr... failed:>>> > (gnutls-error nntpd<1> gnutls-e-invalid-session); and then another one (that I have not kept) explaining that Gnus would simply ignore this server and continue. This is perfect: I'm told that something is wrong with one backend, but I can still use the other ones. Now, today, the TLS settings of news.lrde.epita.fr have been fixed, however the authentication is still not working on this server. When I start gnus, I see > Opening nntp server on news.lrde.epita.fr...done > Authorization Rejected and then Gnus simply stops loading, leaving me with its nice logo to contemplate. I had to comment out that server from gnus-secondary-select-methods in order to read my mail. It seems weird to me that the TLS error is handled as a warning, but that the authentication error is a hard one. Would it be possible to handle both error conditions similarly? (Preferably disabling that server in both case.) Thanks! In GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-01-10 built on goulash Repository revision: 5960e9cf5770dab2bd3abfb8640f6553bfa1b190 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 System Description: Debian GNU/Linux bullseye/sid Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix -- Alexandre Duret-Lutz From unknown Fri Aug 15 20:54:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45855: 28.0.50; gnus does not start if one of the nntp backend fails to authenticate Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Jan 2021 06:28:01 +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: To: Alexandre Duret-Lutz Cc: 45855@debbugs.gnu.org Received: via spool by 45855-submit@debbugs.gnu.org id=B45855.161103763614289 (code B ref 45855); Tue, 19 Jan 2021 06:28:01 +0000 Received: (at 45855) by debbugs.gnu.org; 19 Jan 2021 06:27:16 +0000 Received: from localhost ([127.0.0.1]:49180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1kTz-0003iO-O6 for submit@debbugs.gnu.org; Tue, 19 Jan 2021 01:27:15 -0500 Received: from quimby.gnus.org ([95.216.78.240]:55278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1kTx-0003i5-VZ for 45855@debbugs.gnu.org; Tue, 19 Jan 2021 01:27:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=nIZlcz3Glzz9qBzHUdqwGlwV1DYl+7sm8kGBYMOojw4=; b=FIynVnnWQx7jWlRfgOp6+QkXdp QlVs71jgAIpwkKCm55MykbYJu19BRdDOzCnkxvGx8kpFjPaXVAHQ4jFs1Jg1QNmHTwaIE/CwuETBu DmYsJWMoXU8IEX+xlsS6BQV6pJXXpAIixfnVc7Th8sAW9rQE4AKsbaZsEz6B9ZYiu9KQ=; 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 1l1kTp-0004Px-Vb; Tue, 19 Jan 2021 07:27:08 +0100 From: Lars Ingebrigtsen References: <87a6tb6aho.fsf@lrde.epita.fr> X-Now-Playing: Roni Griffith's _For Discos Only (2)_: "Mondo Man (12inch Version)" Date: Tue, 19 Jan 2021 07:27:04 +0100 In-Reply-To: <87a6tb6aho.fsf@lrde.epita.fr> (Alexandre Duret-Lutz's message of "Thu, 14 Jan 2021 12:09:23 +0100") Message-ID: <87zh15mog7.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Alexandre Duret-Lutz writes: >> Opening nntp server on news.lrde.epita.fr...done >> Authorization Rejected > > and then Gnus simply stops loading, leaving me with its nice logo to > contemplate. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Alexandre Duret-Lutz writes: >> Opening nntp server on news.lrde.epita.fr...done >> Authorization Rejected > > and then Gnus simply stops loading, leaving me with its nice logo to > contemplate.=20 I tried to reproduce this by putting in a wrong password in .authinfo for news.eternal-september.org and starting Gnus. I got: nntp (news.eternal-september.org) open error: =E2=80=98481 Invalid credenti= als =E2=80=99. Continue? (y or n) y Hitting `y' then made Gnus continue (but saying that it's ignoring this server). So I'm unable to reproduce this problem. Does (setq debug-on-error t) give you a backtrace? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 19 01:27:23 2021 Received: (at control) by debbugs.gnu.org; 19 Jan 2021 06:27:23 +0000 Received: from localhost ([127.0.0.1]:49183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1kU6-0003il-W1 for submit@debbugs.gnu.org; Tue, 19 Jan 2021 01:27:23 -0500 Received: from quimby.gnus.org ([95.216.78.240]:55292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1kU4-0003iN-Fk for control@debbugs.gnu.org; Tue, 19 Jan 2021 01:27:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=GkSDXVTJPQW6DE6AUM+B4HTgO/Te1HIlYVifuOpd7+M=; b=r4FDCRxNsjZC6efzO0CziNTN+j aCaTiwMK5Ln2Zyqhner+Bx8OwzvfTNcRrIw/qFKugL4xl2jbRWnyL9KN13F6/kWzjgvwrJAPJuQI6 ysFCqdX1rjK8V5WUt/opoiV3WCX7WPx/plqglJcBZL4R117ezL4bUCdCIFJ73yt/humw=; 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 1l1kTx-0004Q8-1T for control@debbugs.gnu.org; Tue, 19 Jan 2021 07:27:14 +0100 Date: Tue, 19 Jan 2021 07:27:12 +0100 Message-Id: <87y2gpmofz.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #45855 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 45855 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 45855 + moreinfo quit From unknown Fri Aug 15 20:54:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45855: 28.0.50; gnus does not start if one of the nntp backend fails to authenticate Resent-From: Alexandre Duret-Lutz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Jan 2021 07:54:01 +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 To: Lars Ingebrigtsen Cc: 45855@debbugs.gnu.org Received: via spool by 45855-submit@debbugs.gnu.org id=B45855.161104282622666 (code B ref 45855); Tue, 19 Jan 2021 07:54:01 +0000 Received: (at 45855) by debbugs.gnu.org; 19 Jan 2021 07:53:46 +0000 Received: from localhost ([127.0.0.1]:49362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1lpi-0005tV-BB for submit@debbugs.gnu.org; Tue, 19 Jan 2021 02:53:46 -0500 Received: from mail-wr1-f44.google.com ([209.85.221.44]:41227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1lpg-0005tH-Gm for 45855@debbugs.gnu.org; Tue, 19 Jan 2021 02:53:45 -0500 Received: by mail-wr1-f44.google.com with SMTP id a12so18687035wrv.8 for <45855@debbugs.gnu.org>; Mon, 18 Jan 2021 23:53:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=TGbx4fMLfhJA2h42irU1ML7EW2ptWySpvOAd8Z25HS4=; b=tyHqdYsTgDRLMlqEkKu8F2xSkQYt/YLKomeOtoIfFzUpbmFVptqwuwRnMwzem+G6vw 74T8GDuSXgDSgpg+YOAnfuQ4sBOlmf9c1ZK9xZC7K33fpQlw89NSgadTlt0jBESLJmSk Xxm4+OAp7gDTdSG3U8K0Hyt4i9+/e2t9APYh9+XUbS+NyV3EzhGKUJzasi9sveAI/yjd bvS/Wb9a/ruqJ/JzxhwaLRiiyEAM47IfpjUC4RdRv1P56XPOIvtT6rfBQZoFgY4h+7xy uRdnXYKJepXMdGQg4PL+HgEzzPDViuEEimZ5oXu/3tmd/N1PlDjU69dJ7nepx+rjH5MH tC8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=TGbx4fMLfhJA2h42irU1ML7EW2ptWySpvOAd8Z25HS4=; b=r20eA9jzXM5g72dZ2XkjUp3H02Y26+LGeweEfr62oNKnsUd9AlHKmmt3DZSTNpcNUP 4Y4rq882ZTxYPu89v+bwGc3v2k9MlJgSMxl6WiU3L2UW3h1f3YWspb+IMMCakapEtAWl MH0LZMIN2GdINho1BWzPM7iYtKRMaMFbFRWuPN7ahLDKc8jtRybX22CfIX57gP8oO+jf WM0JWnrwZ0w3dLx/PqMsjqBGKeZ+LV9uXYv1bnwKAyPRzXFh2uveZCZTtZnU4bLS77T8 tX9jxQm1G0hEy/KBLUddZoyByOT1A+cJE7nvDNIi/3F9T2VSCrFgPyM53AOB+joq4RpQ PEtA== X-Gm-Message-State: AOAM531Tw8SbdRLxBELJhHQHidPvFOsmhIB1X5NKVGN2MPlMbbAgAGJf 1gfW3O+bBD7v3zjKcO3/SYNi3q2Efc61dg== X-Google-Smtp-Source: ABdhPJzkjiK/8mgEXdQTepx9nPOd42iP15JL1HXbK93wBjlpQt+wXyNFNEwXQTMPT+JDY6S6UtWsqA== X-Received: by 2002:adf:e8c5:: with SMTP id k5mr3126598wrn.242.1611042818630; Mon, 18 Jan 2021 23:53:38 -0800 (PST) Received: from goulash (89-109-190-109.dsl.ovh.fr. [109.190.109.89]) by smtp.gmail.com with ESMTPSA id r1sm35444551wrl.95.2021.01.18.23.53.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jan 2021 23:53:37 -0800 (PST) From: Alexandre Duret-Lutz References: <87a6tb6aho.fsf@lrde.epita.fr> <87zh15mog7.fsf@gnus.org> Date: Tue, 19 Jan 2021 08:53:35 +0100 In-Reply-To: <87zh15mog7.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 19 Jan 2021 07:27:04 +0100") Message-ID: <87wnw9e51c.fsf@lrde.epita.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) 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") #f(compiled-function () #)() nntp-with-open-group-function(nil "news.lrde.epita.fr" nil #f(compiled-function () #)) nntp-request-newgroups("Mon, 18 Jan 2021 18:33:40 +0100" "news.lrde.epita.fr") gnus-request-newgroups("Mon, 18 Jan 2021 18:33:40 +0100" (nntp "news.lrde.epita.fr" (nntp-open-connection-function nntp-open-ssl-stream) (nntp-port-number 563) (nntp-address "news.lrde.epita.fr"))) gnus-ask-server-for-new-groups() gnus-find-new-newsgroups() gnus-setup-news(nil nil nil) #f(compiled-function () #)() gnus-1(nil nil nil) gnus(nil) funcall-interactively(gnus nil) call-interactively(gnus nil nil) command-execute(gnus) Here is what I see when I do it by hand: % gnutls-cli -p 563 news.lrde.epita.fr [...] 200 news.lrde.epita.fr InterNetNews NNRP server INN 2.6.3 ready (no posting) AUTHINFO USER adl 381 Enter password AUTHINFO PASS dummy 481 Authentication failed From unknown Fri Aug 15 20:54:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45855: 28.0.50; gnus does not start if one of the nntp backend fails to authenticate 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 To: Alexandre Duret-Lutz Cc: 45855@debbugs.gnu.org Received: via spool by 45855-submit@debbugs.gnu.org id=B45855.161106826628050 (code B ref 45855); Tue, 19 Jan 2021 14:58:02 +0000 Received: (at 45855) by debbugs.gnu.org; 19 Jan 2021 14:57:46 +0000 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 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=; 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 From: Lars Ingebrigtsen References: <87a6tb6aho.fsf@lrde.epita.fr> <87zh15mog7.fsf@gnus.org> <87wnw9e51c.fsf@lrde.epita.fr> X-Now-Playing: Jean-Louis Huhta's =?UTF-8?Q?=5FH=C3=A4lsningar_?= =?UTF-8?Q?fr=C3=A5n?= skogen_: "Each Day" Date: Tue, 19 Jan 2021 15:57:34 +0100 In-Reply-To: <87wnw9e51c.fsf@lrde.epita.fr> (Alexandre Duret-Lutz's message of "Tue, 19 Jan 2021 08:53:35 +0100") Message-ID: <87ft2xj7oh.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 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-authi [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 19 09:57:52 2021 Received: (at control) by debbugs.gnu.org; 19 Jan 2021 14:57:52 +0000 Received: from localhost ([127.0.0.1]:51203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1sS7-0007Ij-Om for submit@debbugs.gnu.org; Tue, 19 Jan 2021 09:57:51 -0500 Received: from quimby.gnus.org ([95.216.78.240]:60532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1sS6-0007IF-1L for control@debbugs.gnu.org; Tue, 19 Jan 2021 09:57:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=3GbiGMdgKBua1gIl9VupVAXyNYqxfxB/W08p+sT/R8s=; b=soYvyGDe1IqQz5IRpFdBzmuBhJ tO2k47t55Kk2wom/pAhqqwSvKPE3M91gb7TegtB9JWQ5GnSEWJ2umyCRsB6fLAArjNkGQkckNcqxM TjlisFiktTaqCAntaLlM3dNHHllFe4wbLzZSDUYz1TahCIC1hfXIuWbtUwrwN9ayInEY=; 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 1l1sRy-0001JY-EQ for control@debbugs.gnu.org; Tue, 19 Jan 2021 15:57:44 +0100 Date: Tue, 19 Jan 2021 15:57:41 +0100 Message-Id: <87eeihj7oa.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #45855 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 45855 fixed close 45855 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 45855 fixed close 45855 28.1 quit