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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 21277 invoked from network); 4 May 2020 16:14:41 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with ESMTPUTF8; 4 May 2020 16:14:41 -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 1jVdjS-000744-N2; Mon, 04 May 2020 11:14:14 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jVdjO-00071F-85 for ding@lists.math.uh.edu; Mon, 04 May 2020 11:14:10 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jVdjM-0006sz-TG for ding@lists.math.uh.edu; Mon, 04 May 2020 11:14:10 -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 :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:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HXbXaXCqUuRKfXEB9m/lY844oEEy5EddLP067k949Yg=; b=FJfjyB2C+CxeV6IZj/BzikSgaF EmBBWB7sKeXH16EPyCg8bV2s0jLR+O+E3MnJ1H6gD016XLCktsUZNIsgaC5RWacxHe3OBYycgLqkF xP6dhrdWTcwZRH/r8jh9/CTFvE0IgGZuENxLkxdmSAZIq0pw+YKVXrt+6791TjLQ3qZ0=; Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jVdjG-0001lE-0k; Mon, 04 May 2020 18:14:04 +0200 Received: by mail-wr1-x435.google.com with SMTP id k1so21678590wrx.4; Mon, 04 May 2020 09:14:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:message-id :mime-version:content-transfer-encoding; bh=HXbXaXCqUuRKfXEB9m/lY844oEEy5EddLP067k949Yg=; b=t/45bDDmDNYa4Unl2MzF26sQemL0e+46T3IBkDc0ThyejZrRnO8i4QcDkxbdILD2TB 4rgVKJUVlZxrUlB0X1gz01TkwKXMwFeX8ctHrnzcTpLdAVOaXkzp0z/uFo6xOsEGinZO Fm1WLMMdzfHj7IXJhEnEeDCQYK2jTqHYYcffGr/ZQ1TRs6/McR2iqkxC+d5/3w+5f28q j084gqCxP2q2B5pMUVMDFVkRpRCh655/u2+o+CKHkfgP39t0ZAFdTz+plPx3Q5X/KueJ fPDjO4q0OK4mtO/05n0WivZKgPggo5pULwb7yB9ciLYaNys/NKIM262ik0hRQ76H4Cie 5FRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:message-id:mime-version :content-transfer-encoding; bh=HXbXaXCqUuRKfXEB9m/lY844oEEy5EddLP067k949Yg=; b=K7ZLKWW1ow+YiVRpINakKslFxwr8p16+PoryS20t/jXSpuk6TuBn/FN535sk34XEUt gGpXEfqtXysxv9/61exwZGg1UF4M/ZhbixO9YCjxYt/l0u/MV5YPnweK52ZBLZyy7ac/ mzVTtokdfjL1gJXHYuxchtAjI1mMnD1NXQXpyupyeBAV8vyagb1tkrOm6jiXO46Ba9yS zj1OMjkmrVFwltT0kKYeZMNErA+fqWM82EIPyS//Vw3MbTYrO3X5wJ8hMNve42jAMT2r R+MMlNSYhxbHX8JuPFN6Sxwb+QP5uMrKkqu4VDoVBBxk3WFKdhO3F2eMtgU5H2APQ1B4 1Ucg== X-Gm-Message-State: AGi0PuYurENgwv4+u59pp9sUYNvE58FCQQUQeyaGEsCfvV15Ef3sEiSc swbPcVgXMClbQLTHqhoB6B7io9Mm5po= X-Google-Smtp-Source: APiQypKuaFgy4AfMDQvchS8I0PS0JsK9uYiFbHk7hR482tlIf6z0x6weWGp5dM5TYcybL9QVPLYnpQ== X-Received: by 2002:adf:9545:: with SMTP id 63mr34158wrs.57.1588608840321; Mon, 04 May 2020 09:14:00 -0700 (PDT) Received: from rpluim-mac (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id k5sm3220678wrx.16.2020.05.04.09.13.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 May 2020 09:13:59 -0700 (PDT) From: Robert Pluim To: Lars Ingebrigtsen Cc: Eric Abrahamsen , 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> <87y2qcbp45.fsf@ericabrahamsen.net> <87pnbjwy5y.fsf@gnus.org> Gmane-Reply-To-List: yes Date: Mon, 04 May 2020 18:13:57 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: Precedence: bulk >>>>> On Mon, 04 May 2020 16:51:53 +0200, Lars Ingebrigtsen said: Lars> Robert Pluim writes: >> Also, I see this when coming out of sleep and connecting to the same >> wifi network, with the same IP, and the same DNS server, which I gue= ss >> implicates Emacs more. Lars> It's unlikely to be something on your machine that's the problem.= It's Lars> unfortunately common for routers/firewalls to eject the apparentl= y dead Lars> connection from their routing tables, and when a new packet arriv= es Lars> on that connection, it'll just discard it (instead of sending a R= ST Lars> packet to you). The result is a hanging connection. And no doubt they'll have some crappy justification for doing it. Lars> In my experience, this is quite common for the NAT routers ISPs u= se in Lars> front of your home, and less common for the firewalls that's clos= e to Lars> the server. I=CA=BCve just sledgehammered in tcp-keepalives at 1 second intervals into make-network-process, and that at least makes the detection of the failed connection fast. Eric, are you on GNU/Linux? I can cook up a patch for that platform to try if you want. Robert