From unknown Fri Aug 15 20:51:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43047: 28.0.50; Closing Gnus server then searching it results in unrecoverable breakage Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Aug 2020 18:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43047 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 43047@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159837916913951 (code B ref -1); Tue, 25 Aug 2020 18:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Aug 2020 18:12:49 +0000 Received: from localhost ([127.0.0.1]:36026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAdRB-0003cx-10 for submit@debbugs.gnu.org; Tue, 25 Aug 2020 14:12:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:50430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAdR9-0003cp-75 for submit@debbugs.gnu.org; Tue, 25 Aug 2020 14:12:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAdR8-0001WI-D9 for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2020 14:12:46 -0400 Received: from ericabrahamsen.net ([52.70.2.18]:58434 helo=mail.ericabrahamsen.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAdR6-0005Wr-8m for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2020 14:12:46 -0400 Received: from localhost (75-172-112-137.tukw.qwest.net [75.172.112.137]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 5661BFA30C for ; Tue, 25 Aug 2020 18:12:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1598379156; bh=y9qb96zxrkV1sAsdGTbLmr7U17V0IvirMmVHRNluULA=; h=From:To:Subject:Date:From; b=k0pcMK30y1aziuUNv2Z5J8VnkEssHQIT/oZfTtXUYjWn5BfagOKZD3N8lEV1PAGo2 FcEA69SHxHxJQpdxCArfibEAVhp5OasShNH+ef8xnFSTM7A4o/TMZmQ3+OyUoTduLp CTNEaB5tg/IVq2d+Jtmyf1q4/8p0FPH3+7owz/Cs= From: Eric Abrahamsen Date: Tue, 25 Aug 2020 11:12:34 -0700 Message-ID: <87zh6i388d.fsf@ericabrahamsen.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=52.70.2.18; envelope-from=eric@ericabrahamsen.net; helo=mail.ericabrahamsen.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/25 14:12:36 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) While fooling around with dbus and server closing, I discovered that the "closed" state is a bit fragile: I close a server (in this case a localhost IMAP server) then immediately try to search it, and instead of the server opening, or me getting a polite error message, I get the error at the bottom of this report. That error is then permanent, the server can't be re-opened. Not only that, when I `gnus-group-restart' the error persists, AND infects my second IMAP server on localhost, though I guess that's to be expected. Gnus has to be explicitly quit and then restarted in order to recover. I note that, in `nnimap-open-server', when I'm trying to open a server that was closed, the DEFS parameter is populated. But when we get to `nnoo-change-server', none of the global nnimap-* variables get set correctly: nnimap-stream should be 'network, but it's 'undecided, which is why the backtrace below shows failure on an attempted ssl connection. If I try to open a server that's already open, the DEFS parameter is nil, but after we reach the `nnoo-change-server' call, all the nnimap-* vars are set correctly. That's as far as I've gotten now. I will continue debugging this, but I'm hanging it here first to remind myself, and in case anyone else wants to take a whack at it. Debugger entered--Lisp error: (error "NPR/imaps Name or service not known") make-network-process(:name "*nnimap*" :buffer # :host "NPR" :service "imaps" :nowait nil :tls-parameters nil :coding nil) open-network-stream("*nnimap*" # "NPR" "imaps" :nowait nil :tls-parameters nil :coding nil) open-gnutls-stream("*nnimap*" # "NPR" "imaps" (:type ssl :warn-unless-encrypted t :return-list t :shell-command "ssh %s imapd" :capability-command "1 CAPABILITY\15\n" :always-query-capabilities t :end-of-command "\15\n" :success " OK " :starttls-function #f(compiled-function (capabilities) #))) network-stream-open-tls("*nnimap*" # "NPR" "imaps" (:type ssl :warn-unless-encrypted t :return-list t :shell-command "ssh %s imapd" :capability-command "1 CAPABILITY\15\n" :always-query-capabilities t :end-of-command "\15\n" :success " OK " :starttls-function #f(compiled-function (capabilities) #))) open-network-stream("*nnimap*" # "NPR" "imaps" :type ssl :warn-unless-encrypted t :return-list t :shell-command "ssh %s imapd" :capability-command "1 CAPABILITY\15\n" :always-query-capabilities t :end-of-command "\15\n" :success " OK " :starttls-function #f(compiled-function (capabilities) #)) nnimap-open-connection-1(#) nnimap-open-connection(#) nnimap-open-server("NPR" nil nil) nnimap-change-group("INBOX" "NPR") #f(compiled-function (group) #)("nnimap+NPR:INBOX") mapcar(#f(compiled-function (group) #) ("nnimap+NPR:INBOX")) nnir-run-imap(((query . "body \"searchy\"")) "nnimap:NPR" ("nnimap+NPR:INBOX")) From unknown Fri Aug 15 20:51:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43047: 28.0.50; Closing Gnus server then searching it results in unrecoverable breakage Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2020 08:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43047 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eric Abrahamsen Cc: 43047@debbugs.gnu.org Received: via spool by 43047-submit@debbugs.gnu.org id=B43047.160283652520714 (code B ref 43047); Fri, 16 Oct 2020 08:23:02 +0000 Received: (at 43047) by debbugs.gnu.org; 16 Oct 2020 08:22:05 +0000 Received: from localhost ([127.0.0.1]:57567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTL01-0005O2-0b for submit@debbugs.gnu.org; Fri, 16 Oct 2020 04:22:05 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTKzy-0005NX-Oo for 43047@debbugs.gnu.org; Fri, 16 Oct 2020 04:22:03 -0400 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=ncw9jG+qKotI9agtrHLUt3pUdKqDkp7/93vyS6Gn51M=; b=RgIh4eNBtWSzitQ87zVo8DdrFk Sib24ZP4MMEreyCVt2CJ2Ho2DSBE6Kw4d14QxiMyqAq2CGTUfRRgHMoMUEAxaqELO5aQIvTNcpvet k1nJVOqK5WK/oCtNEb2owxN7zKr3QvDYcFrGC9OCb4nU7fEu6yiinKiU+V4DNh3IePk4=; 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 1kTKzp-0000cQ-Ti; Fri, 16 Oct 2020 10:21:56 +0200 From: Lars Ingebrigtsen References: <87zh6i388d.fsf@ericabrahamsen.net> X-Now-Playing: ELP's _Tarkus_: "Tarkus" Date: Fri, 16 Oct 2020 10:21:52 +0200 In-Reply-To: <87zh6i388d.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 25 Aug 2020 11:12:34 -0700") Message-ID: <87sgaemvhb.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: Eric Abrahamsen writes: > That's as far as I've gotten now. I will continue debugging this, but > I'm hanging it here first to remind myself, and in case anyone else > wants to take a whack at it. > > Debugger entered--Lisp [...] 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 (-) Eric Abrahamsen writes: > That's as far as I've gotten now. I will continue debugging this, but > I'm hanging it here first to remind myself, and in case anyone else > wants to take a whack at it. > > Debugger entered--Lisp error: (error "NPR/imaps Name or service not known") > make-network-process(:name "*nnimap*" :buffer # nil *nntpd**> :host "NPR" :service "imaps" :nowait nil :tls-parameters > nil :coding nil) Reading this bug report, it's somewhat unclear what the problem is. Is "NPR" really the name of the server you're connecting to, or is that the problem? That Gnus is trying to connect to "NPR"? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Fri Aug 15 20:51:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43047: 28.0.50; Closing Gnus server then searching it results in unrecoverable breakage Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2020 16:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43047 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 43047@debbugs.gnu.org Received: via spool by 43047-submit@debbugs.gnu.org id=B43047.16028672982487 (code B ref 43047); Fri, 16 Oct 2020 16:55:02 +0000 Received: (at 43047) by debbugs.gnu.org; 16 Oct 2020 16:54:58 +0000 Received: from localhost ([127.0.0.1]:60723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTT0L-0000e3-Us for submit@debbugs.gnu.org; Fri, 16 Oct 2020 12:54:58 -0400 Received: from ericabrahamsen.net ([52.70.2.18]:51456 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTT0K-0000do-Il for 43047@debbugs.gnu.org; Fri, 16 Oct 2020 12:54:57 -0400 Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 42CD2FA5B6; Fri, 16 Oct 2020 16:54:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1602867290; bh=99G+s7crOkZeIsktLgyDoN53cWbt1hLC66Wdg97cfgQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=yY3p8brSJCVB5+JINFZkMsvkZsR9FSohejhtzHuPBl2A3NsoTqToKt9tCRyh/krop pTkOdV05XQdJlK5z7DiynBRBDrh9rsWvxLjl9shqwOrgieS663jcR/ANq4D4hsKZrn TwYyqb35q0YzN14Oimnvxl9nAxQw9Qdwh9KjdpC0= From: Eric Abrahamsen References: <87zh6i388d.fsf@ericabrahamsen.net> <87sgaemvhb.fsf@gnus.org> Date: Fri, 16 Oct 2020 09:54:48 -0700 In-Reply-To: <87sgaemvhb.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 16 Oct 2020 10:21:52 +0200") Message-ID: <87imba5cx3.fsf@ericabrahamsen.net> 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: -2.3 (--) 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: -3.3 (---) Lars Ingebrigtsen writes: > Eric Abrahamsen writes: > >> That's as far as I've gotten now. I will continue debugging this, but >> I'm hanging it here first to remind myself, and in case anyone else >> wants to take a whack at it. >> >> Debugger entered--Lisp error: (error "NPR/imaps Name or service not known") >> make-network-process(:name "*nnimap*" :buffer #> nil *nntpd**> :host "NPR" :service "imaps" :nowait nil :tls-parameters >> nil :coding nil) > > Reading this bug report, it's somewhat unclear what the problem is. Is > "NPR" really the name of the server you're connecting to, or is that the > problem? That Gnus is trying to connect to "NPR"? Yes, the server is correct: nnimap+NPR. Once I get that error above, I can't reconnect, and get the same error for all nnimap backends. I'm 90% sure the problem is that searching leads to a code path that doesn't first check if the server is open, so `nnoo-change-server' is never called, and the server variables for all imap servers get cross-wired somehow. But I still haven't taken the time to step through it in depth. From unknown Fri Aug 15 20:51:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43047: 28.0.50; Closing Gnus server then searching it results in unrecoverable breakage Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2020 16:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43047 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eric Abrahamsen Cc: 43047@debbugs.gnu.org Received: via spool by 43047-submit@debbugs.gnu.org id=B43047.16028674442724 (code B ref 43047); Fri, 16 Oct 2020 16:58:02 +0000 Received: (at 43047) by debbugs.gnu.org; 16 Oct 2020 16:57:24 +0000 Received: from localhost ([127.0.0.1]:60727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTT2i-0000hr-Di for submit@debbugs.gnu.org; Fri, 16 Oct 2020 12:57:24 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTT2g-0000hd-Gd for 43047@debbugs.gnu.org; Fri, 16 Oct 2020 12:57:22 -0400 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=fEKOGFz1BzppM1nmOSF049k4w1hVROJgFbzGpqtDQyc=; b=aZmmPTW+/rc2J7HZedTpEXunfT Obn6HZXDXk4K7ma5E7pGRz4DHxhuCjPVW5GeWncJN+5ajZyeGV1bQPIOE/pDgIuM9+DqP2gd+bAkS 43EgUrGgg7ck3A8nw0p2m9tnyl/SrST+pWBaR/lCxashH1sSEuE9Xt6Rt7l5Nqfka+Xs=; 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 1kTT2X-0008Hx-Ct; Fri, 16 Oct 2020 18:57:16 +0200 From: Lars Ingebrigtsen References: <87zh6i388d.fsf@ericabrahamsen.net> <87sgaemvhb.fsf@gnus.org> <87imba5cx3.fsf@ericabrahamsen.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEUEBQIpLyBXZFGS mnBASzi5v5j////6jDnzAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+QKEBA4FqTFFtAAAAGWSURBVDjL 5ZNRcusgDEVFmwVA6v43gvzXqP43hLeAN1T730olKC5pu4NqPGN8TyTEFQH4E+GsA/OLbnw4X/Ju nISxEzhFzJhtA24GBksuSwPLoZvSIpdgZbloTgcPNGJ/IN8WGBARnob+Bnks48YE10q0scRqmrjV rRJHBB6x/uNKsWcQTsBtklm5Ad2DmFul9zOTviXLoxAQ6FX5f+2J+uvW1ahUxkKawQnU5wGkMAkF ppzCjXetVDlSzNKxZEFRR8WGW3Tlslj1w6RkHJTUzDaegojTUNQ0sfpWqcbk7se3oDXigxwsp1n2 4t+jNFPJx1COeaAaLlZydxyPcvqZDFPtuhz7E6nR9on7HuKHjrPNXb/h2t0W+zqJtoE302eq/nWS Q1LwcsJJx9Buh4BozwL8AXo1ARfInvAr5O4FBXGHjHECQXRpmdDKFOeMToACfAdY5AFaTz9BwQD8 oheC5010c5m5WwE933el7dbHV4O+flXHEgQkePe7OfYoZZw8wUrWzFZ8RpK/2QDlLuCMYEL5nlDK B/IFmZCH6NapAAAAEGVYSWZJSSoACAAAAAAAAAAAAAAAnDy5KAAAACV0RVh0ZGF0ZTpjcmVhdGUA MjAyMC0xMC0xNlQxNjo1NjoyMiswMDowMCnVC+kAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTAt MTZUMTY6NTY6MjIrMDA6MDBYiLNVAAAAAElFTkSuQmCC X-Now-Playing: Tuxedomoon's _Live in Los Angeles (2005)_: "The Waltz (fade)" Date: Fri, 16 Oct 2020 18:57:12 +0200 In-Reply-To: <87imba5cx3.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Fri, 16 Oct 2020 09:54:48 -0700") Message-ID: <87362e2jo7.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: Eric Abrahamsen writes: >>> Debugger entered--Lisp error: (error "NPR/imaps Name or service not known") >>> make-network-process(:name "*nnimap*" :buffer #>> nil *nntpd**> :host "NPR" :service "imaps" :n [...] 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 (-) Eric Abrahamsen writes: >>> Debugger entered--Lisp error: (error "NPR/imaps Name or service not known") >>> make-network-process(:name "*nnimap*" :buffer #>> nil *nntpd**> :host "NPR" :service "imaps" :nowait nil :tls-parameters >>> nil :coding nil) >> >> Reading this bug report, it's somewhat unclear what the problem is. Is >> "NPR" really the name of the server you're connecting to, or is that the >> problem? That Gnus is trying to connect to "NPR"? > > Yes, the server is correct: nnimap+NPR. Once I get that error above, I > can't reconnect, and get the same error for all nnimap backends. But is "NPR" the domain name of the server you're trying to connect to? Or is it the Gnus server name? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Fri Aug 15 20:51:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43047: 28.0.50; Closing Gnus server then searching it results in unrecoverable breakage Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2020 17:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43047 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 43047@debbugs.gnu.org Received: via spool by 43047-submit@debbugs.gnu.org id=B43047.16028678003392 (code B ref 43047); Fri, 16 Oct 2020 17:04:01 +0000 Received: (at 43047) by debbugs.gnu.org; 16 Oct 2020 17:03:20 +0000 Received: from localhost ([127.0.0.1]:60735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTT8S-0000sb-K3 for submit@debbugs.gnu.org; Fri, 16 Oct 2020 13:03:20 -0400 Received: from ericabrahamsen.net ([52.70.2.18]:51642 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTT8Q-0000sJ-Rj for 43047@debbugs.gnu.org; Fri, 16 Oct 2020 13:03:19 -0400 Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 85E57FA5B6; Fri, 16 Oct 2020 17:03:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1602867791; bh=/J3pB0gYAkrpCyjFQIjATWfbIyjDd5vgWqyGfXQBJgE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=J2vo3w3Uj48ZKolJWtAaTD61Q0kknBiRpWklCwpt2Zfvnbm0FjQiIHWWCZVZXx3Sc v5PFtlj1mSWAlT3rOaVZkPAwDH3np3vEg9MdWMSlqC7LsTk6NqQWL2giUEUvuhQPrM ER0JWHvKGEI32fDQ4oOQWgL5q1EnyObb8ELdm4bE= From: Eric Abrahamsen References: <87zh6i388d.fsf@ericabrahamsen.net> <87sgaemvhb.fsf@gnus.org> <87imba5cx3.fsf@ericabrahamsen.net> <87362e2jo7.fsf@gnus.org> Date: Fri, 16 Oct 2020 10:03:10 -0700 In-Reply-To: <87362e2jo7.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 16 Oct 2020 18:57:12 +0200") Message-ID: <87eely5cj5.fsf@ericabrahamsen.net> 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: -2.3 (--) 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: -3.3 (---) Lars Ingebrigtsen writes: > Eric Abrahamsen writes: > >>>> Debugger entered--Lisp error: (error "NPR/imaps Name or service not known") >>>> make-network-process(:name "*nnimap*" :buffer #>>> nil *nntpd**> :host "NPR" :service "imaps" :nowait nil :tls-parameters >>>> nil :coding nil) >>> >>> Reading this bug report, it's somewhat unclear what the problem is. Is >>> "NPR" really the name of the server you're connecting to, or is that the >>> problem? That Gnus is trying to connect to "NPR"? >> >> Yes, the server is correct: nnimap+NPR. Once I get that error above, I >> can't reconnect, and get the same error for all nnimap backends. > > But is "NPR" the domain name of the server you're trying to connect to? > Or is it the Gnus server name? It's just the label of the server: (nnimap "NPR" (nnimap-address "localhost") (nnimap-stream network) (gnus-message-archive-group "nnimap+NPR:Sent") (nnimap-authenticator login) (nnimap-user "eric@paper-republic.org")) From unknown Fri Aug 15 20:51:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43047: 28.0.50; Closing Gnus server then searching it results in unrecoverable breakage Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Aug 2021 17:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43047 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eric Abrahamsen Cc: 43047@debbugs.gnu.org Received: via spool by 43047-submit@debbugs.gnu.org id=B43047.163008626426656 (code B ref 43047); Fri, 27 Aug 2021 17:45:02 +0000 Received: (at 43047) by debbugs.gnu.org; 27 Aug 2021 17:44:24 +0000 Received: from localhost ([127.0.0.1]:52930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJftw-0006vs-2R for submit@debbugs.gnu.org; Fri, 27 Aug 2021 13:44:24 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJftu-0006vc-2t for 43047@debbugs.gnu.org; Fri, 27 Aug 2021 13:44:22 -0400 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=9p18aHCwI/ASyJC/VW0KXw6iQ87UrNBJWTOfSOlfYzY=; b=k8fbl+I5AX4s7gDSqJh/br/uZz H48wpClyoJnNKBOTWO4qnLlNc0HITE/QlKfV5AI8eWvpez4t6HYhpdr8DJm04MnLwgruonYmzh3It PBP1g39v+X2oQuRpcNbOkWXb50Cj3WaWvukCICE5Euh0YRByfXlNCO3t5ebVYhxGPGEI=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJftj-0006BV-Qi; Fri, 27 Aug 2021 19:44:16 +0200 From: Lars Ingebrigtsen References: <87zh6i388d.fsf@ericabrahamsen.net> <87sgaemvhb.fsf@gnus.org> <87imba5cx3.fsf@ericabrahamsen.net> <87362e2jo7.fsf@gnus.org> <87eely5cj5.fsf@ericabrahamsen.net> Date: Fri, 27 Aug 2021 19:44:09 +0200 In-Reply-To: <87eely5cj5.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Fri, 16 Oct 2020 10:03:10 -0700") Message-ID: <87zgt2lr4m.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: Eric Abrahamsen writes: >>>>> make-network-process(:name "*nnimap*" :buffer #>>>> nil *nntpd**> :host "NPR" :service "imaps" :nowait nil :tls-parameters >>>>> nil :coding nil) 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: -2.3 (--) 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: -3.3 (---) Eric Abrahamsen writes: >>>>> make-network-process(:name "*nnimap*" :buffer #>>>> nil *nntpd**> :host "NPR" :service "imaps" :nowait nil :tls-parameters >>>>> nil :coding nil) [...] > It's just the label of the server: > > (nnimap "NPR" > (nnimap-address "localhost") > (nnimap-stream network) > (gnus-message-archive-group "nnimap+NPR:Sent") > (nnimap-authenticator login) > (nnimap-user "eric@paper-republic.org")) Hm... then it sounds like the defvoo machinery isn't restoring the local variables (and just using "NPR" as the host name, which is the default if nnimap-address is nil). So... I think... this must mean that it thinks that NPR is the current nnimap server even when it isn't, so something hasn't been reset correctly somewhere... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Fri Aug 15 20:51:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43047: 28.0.50; Closing Gnus server then searching it results in unrecoverable breakage Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Aug 2021 18:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43047 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 43047@debbugs.gnu.org Received: via spool by 43047-submit@debbugs.gnu.org id=B43047.163008920515514 (code B ref 43047); Fri, 27 Aug 2021 18:34:01 +0000 Received: (at 43047) by debbugs.gnu.org; 27 Aug 2021 18:33:25 +0000 Received: from localhost ([127.0.0.1]:52990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJgfI-000426-Tt for submit@debbugs.gnu.org; Fri, 27 Aug 2021 14:33:25 -0400 Received: from mail.ericabrahamsen.net ([52.70.2.18]:50882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJgfD-00041p-6Y for 43047@debbugs.gnu.org; Fri, 27 Aug 2021 14:33:19 -0400 Received: from localhost (c-73-109-4-106.hsd1.wa.comcast.net [73.109.4.106]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id E00EEFA07F; Fri, 27 Aug 2021 18:33:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1630089189; bh=Fu4pyc0E7xC/tePp2BpaYNrnwSzxtwVkXtZCpdG2kc4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=mKfbmQ13N+wrMV2O/L5hH8a5J9ZlriI6pRkwhVsfIX2xmn6LbX0ZZEhO4SkgwuRJr ejR425m3NNulsnBy/nokZ1vJVCo91S9rf6HD6YbKRW+FauQFdkL1NbDS0mlSQZIUJa uVTMeIeGv2r6m4HZLJ89RIq6nabf8M4be/g6NbW4= From: Eric Abrahamsen References: <87zh6i388d.fsf@ericabrahamsen.net> <87sgaemvhb.fsf@gnus.org> <87imba5cx3.fsf@ericabrahamsen.net> <87362e2jo7.fsf@gnus.org> <87eely5cj5.fsf@ericabrahamsen.net> <87zgt2lr4m.fsf@gnus.org> Date: Fri, 27 Aug 2021 11:33:07 -0700 In-Reply-To: <87zgt2lr4m.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 27 Aug 2021 19:44:09 +0200") Message-ID: <87v93qohzw.fsf@ericabrahamsen.net> 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: -2.3 (--) 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: -3.3 (---) Lars Ingebrigtsen writes: > Eric Abrahamsen writes: > >>>>>> make-network-process(:name "*nnimap*" :buffer #>>>>> nil *nntpd**> :host "NPR" :service "imaps" :nowait nil :tls-parameters >>>>>> nil :coding nil) > > [...] > >> It's just the label of the server: >> >> (nnimap "NPR" >> (nnimap-address "localhost") >> (nnimap-stream network) >> (gnus-message-archive-group "nnimap+NPR:Sent") >> (nnimap-authenticator login) >> (nnimap-user "eric@paper-republic.org")) > > Hm... then it sounds like the defvoo machinery isn't restoring the > local variables (and just using "NPR" as the host name, which is the > default if nnimap-address is nil). Oh! I think I already fixed this, in aae44a36f3. I just added a `gnus-open-server' into the imap `gnus-search-run-search' -- that seems sufficient to make this server the "current server". I just tested it again (close and then search) and it seems to work fine. Maybe close this out? From unknown Fri Aug 15 20:51:10 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43047: 28.0.50; Closing Gnus server then searching it results in unrecoverable breakage Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Aug 2021 18:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43047 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eric Abrahamsen Cc: 43047@debbugs.gnu.org Received: via spool by 43047-submit@debbugs.gnu.org id=B43047.163008995516737 (code B ref 43047); Fri, 27 Aug 2021 18:46:02 +0000 Received: (at 43047) by debbugs.gnu.org; 27 Aug 2021 18:45:55 +0000 Received: from localhost ([127.0.0.1]:53011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJgrT-0004Lt-Ch for submit@debbugs.gnu.org; Fri, 27 Aug 2021 14:45:55 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJgrR-0004La-1n for 43047@debbugs.gnu.org; Fri, 27 Aug 2021 14:45:53 -0400 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=z9JXUpStfthXCBtbtd4EkCaapqjCUg50sWAOaC1NzN4=; b=HLbcbpMexr2dSyKpQ4VzXrbKEJ buY8msY5pyumDHDI7Xs+yUE6FaQ055c5HHtBtL51FKVfC0HQnf09Cg/OLgXyryGiLhqi0oM5NFCRp qcGddp7lFCFQ9HOp8tT6RhMHSXxpLA5ocR9D+c0R+yVM47LpVuLHZoEnKL4kyBKJtzo4=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJgrG-0007dJ-BJ; Fri, 27 Aug 2021 20:45:46 +0200 From: Lars Ingebrigtsen References: <87zh6i388d.fsf@ericabrahamsen.net> <87sgaemvhb.fsf@gnus.org> <87imba5cx3.fsf@ericabrahamsen.net> <87362e2jo7.fsf@gnus.org> <87eely5cj5.fsf@ericabrahamsen.net> <87zgt2lr4m.fsf@gnus.org> <87v93qohzw.fsf@ericabrahamsen.net> Date: Fri, 27 Aug 2021 20:45:40 +0200 In-Reply-To: <87v93qohzw.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Fri, 27 Aug 2021 11:33:07 -0700") Message-ID: <87eeaeloa3.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: Eric Abrahamsen writes: > Oh! I think I already fixed this, in aae44a36f3. I just added a > `gnus-open-server' into the imap `gnus-search-run-search' -- that seems > sufficient to make this server the "current server". I jus [...] 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: -2.3 (--) 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: -3.3 (---) Eric Abrahamsen writes: > Oh! I think I already fixed this, in aae44a36f3. I just added a > `gnus-open-server' into the imap `gnus-search-run-search' -- that seems > sufficient to make this server the "current server". I just tested > it again (close and then search) and it seems to work fine. Great! > Maybe close this out? Sure; now done. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 27 14:46:04 2021 Received: (at control) by debbugs.gnu.org; 27 Aug 2021 18:46:04 +0000 Received: from localhost ([127.0.0.1]:53015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJgrc-0004Mr-K2 for submit@debbugs.gnu.org; Fri, 27 Aug 2021 14:46:04 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJgrb-0004M2-DD for control@debbugs.gnu.org; Fri, 27 Aug 2021 14:46:03 -0400 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=RjnJnFQLotscNMa7hlSvp+H/Y76SIxhf84EKivALGn0=; b=hXthZcfCyj9Nx93OsAyikwA5Fg 1tPOy9bxTJfzGjtprkLlX1KYfJN8OohzQgtUE9b1Ot64kIeuY4/8OHyjQOACVbzXU8Ak5vONjVgUQ i88xiWLZOgbMln3Oa0nfVU/kGLNcLzE24xZJnib0RIDoW/uqFDYOD/MMwyvcbPpAWnhw=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJgrT-0007dj-6E for control@debbugs.gnu.org; Fri, 27 Aug 2021 20:45:57 +0200 Date: Fri, 27 Aug 2021 20:45:54 +0200 Message-Id: <87czpylo9p.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #43047 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: close 43047 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: -2.3 (--) 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: -3.3 (---) close 43047 28.1 quit