From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: from mx1.math.uh.edu (mx1.math.uh.edu [129.7.128.32]) by inbox.vuxu.org (Postfix) with ESMTP id 955B22FA61 for ; Wed, 23 Oct 2024 20:36:28 +0200 (CEST) Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1t3gDY-0000000ApIG-25wb for ml@inbox.vuxu.org; Wed, 23 Oct 2024 13:36:24 -0500 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.97.1) (envelope-from ) id 1t3gDJ-00000005red-0fjm for ml@inbox.vuxu.org; Wed, 23 Oct 2024 13:36:09 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.97.1) (envelope-from ) id 1t39ZJ-00000005o80-05jv for ding@lists.math.uh.edu; Tue, 22 Oct 2024 02:44:41 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1t39ZE-00000008bmj-19Ou for ding@lists.math.uh.edu; Tue, 22 Oct 2024 02:44:40 -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:References :Message-ID:Date:Subject:From:To:Sender:Reply-To:Cc: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=q033LOdFSFM8w3Fwllh8Am03c+8Np3qsVHWlC9RTxxg=; b=C7NbmK/n96RL2m39Pvf5ciWQaf aZsHFCSwVVsQNp9KEJaPu5OO/ArLOaibJVre2TVa2AH+GmPPrfYW3FCkFtyt3esDFyf65nWf4Lxb2 PTDx5zAU6cFFnZJO4xuyrMCNuJIYNDCNSXVZt3mFpQQVZgWNQYSEF7/wpWIeaWMcSBlk=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t39Z7-0006kx-TU for ding@gnus.org; Tue, 22 Oct 2024 09:44:31 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1t39Z6-0004sd-63 for ding@gnus.org; Tue, 22 Oct 2024 09:44:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: NNTP Surfer Subject: Re: nntp and nnimap disconnect and take forever when emacs is idle Date: Tue, 22 Oct 2024 03:44:20 -0400 Message-ID: <87ldygwpij.fsf@its.a.fake> References: <87froospgn.fsf@subvertising.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:UrIBaR7QbMX1eaKqIeKCi53Yb6k= List-ID: Precedence: bulk Divya Ranjan writes: > Does anyone else also experience this, when they’ve left their Emacs > or just gnus idle for sometime, it disconnects from the server, Had the same thing. Just set low connection timeout to quickly renew connections: #begin_src emacs-lisp gnus-select-method '(nntp "xxx" (nntp-open-connection-function nntp-open-tls-stream) (nntp-port-number 563) (nntp-address "xxx") (nntp-connection-timeout 5)) #end_src