From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexandre Duret-Lutz Newsgroups: gmane.emacs.bugs Subject: bug#45855: 28.0.50; gnus does not start if one of the nntp backend fails to authenticate Date: Thu, 14 Jan 2021 12:09:23 +0100 Message-ID: <87a6tb6aho.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="16554"; mail-complaints-to="usenet@ciao.gmane.io" To: 45855@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 14 12:10:13 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 1l00W5-0004Bl-Ew for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jan 2021 12:10:13 +0100 Original-Received: from localhost ([::1]:56852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l00W4-000479-GO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jan 2021 06:10:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l00Vu-00045h-Ia for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2021 06:10:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53989) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l00Vu-0007Il-Ah for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2021 06:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l00Vu-0003vN-5R for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2021 06:10:02 -0500 X-Loop: help-debbugs@gnu.org 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-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161062257215025 (code B ref -1); Thu, 14 Jan 2021 11:10:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Jan 2021 11:09:32 +0000 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) 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-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:197941 Archived-At: 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