From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 6420 invoked from network); 30 Apr 2020 22:12:08 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with ESMTPUTF8; 30 Apr 2020 22:12:08 -0000 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92.3) (envelope-from ) id 1jUHPN-0003rW-Uo; Thu, 30 Apr 2020 17:11:53 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jUHPK-0003og-Oc for ding@lists.math.uh.edu; Thu, 30 Apr 2020 17:11:50 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jUHPJ-0001xH-9m for ding@lists.math.uh.edu; Thu, 30 Apr 2020 17:11:50 -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=hXRpxWGt5+1bYiBiXAG8wX284cpEiNY28wCiWsCzrsM=; b=jT2RPh9mVECfCUowJo2s2EVzaW 99uFiU8asRKehsmn+INgUHSJqGVEdyHK5qn4B8V9TNX/fFFKfWvy6drSfqpQv1tqsrkUKSl0eKjLj 4O2qCOfeYC37kpQNN7s6Z8jOU+NmVuqPs0oypQ5xqGXQ1X/3DJaOE/pq9G2yRxoRJcpg=; Received: from ericabrahamsen.net ([52.70.2.18] helo=mail.ericabrahamsen.net) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUHPC-0000g6-4c; Fri, 01 May 2020 00:11:44 +0200 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 87581FA028; Thu, 30 Apr 2020 22:11:39 +0000 (UTC) From: Eric Abrahamsen To: Lars Ingebrigtsen Cc: Robert Pluim , Christian Barthel , ding@gnus.org Subject: Re: new wifi connection = nntp timeout = Emacs restart? References: <87sgh3coxn.fsf@ericabrahamsen.net> <87o8rogew7.fsf@barthel.ch> <87zhb7mlf0.fsf@ericabrahamsen.net> <87a72t35ng.fsf@gnus.org> <87wo5wev3m.fsf@ericabrahamsen.net> <878sic1w65.fsf@gnus.org> Date: Thu, 30 Apr 2020 15:11:38 -0700 In-Reply-To: <878sic1w65.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 30 Apr 2020 23:49:22 +0200") Message-ID: <87y2qcbp45.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 List-ID: Precedence: bulk Lars Ingebrigtsen writes: > Eric Abrahamsen writes: > >> Thanks for this background! Later I opened bug#40748, and in doing so >> discovered that the actual problem was in the DNS lookup: >> >> (error "news.gmane.io/nntp Temporary failure in name resol...") >> >> Or at least, it was being reported as such. >> >> Does that change your assessment at all? Or is it what you'd expect? > > A DNS lookup failing should never make Gnus hang, so that's pretty > surprising. This error comes in `nntp-open-connection', as the condition-case error caught from `open-network-stream'. I only just realized that's a lisp function, but looking at it we should be using `make-network-process'. The DNS lookup isn't hanging (or hanging Gnus) so much as it is taking a long time to fail, and then _continuing to fail until Emacs is restarted_. So I'm hoping this is unrelated to Gnus, and actually a problem with Emacs caching the DNS server it's trying to use, which is later unavailable on a new network. (But then why would I only see this with Gnus nntp connections? On the other hand, all my nnimap connections are localhost, nntp is my only non-local Gnus network connection.)