From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: Cleaning up rcirc Date: Tue, 21 Sep 2021 19:18:15 +0000 Message-ID: <87sfxxrb48.fsf@posteo.net> References: <875yv7dqw7.fsf@posteo.net> <87mtojnjey.fsf@gnu.org> <87y283c88w.fsf@posteo.net> <87ilz7neop.fsf@gnu.org> <87pmtedg57.fsf@posteo.net> <8735qaq0be.fsf@gnu.org> <878rzprb8h.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26507"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 21 21:21:13 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mSlKL-0006eu-UJ for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Sep 2021 21:21:13 +0200 Original-Received: from localhost ([::1]:40734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSlKK-0005xW-UD for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Sep 2021 15:21:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSlHo-0004Yl-Ro for emacs-devel@gnu.org; Tue, 21 Sep 2021 15:18:37 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:47665) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSlHX-0006fl-R1 for emacs-devel@gnu.org; Tue, 21 Sep 2021 15:18:31 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 9C195240105 for ; Tue, 21 Sep 2021 21:18:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632251896; bh=qPhxXteDBbBg0ui851ffqfvXZ6d0gQLrX4edSjXJqNA=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=K83WK1Rj2FGAgbi5LSFcjnLBq4MqROStAxbKB/zLaxtUPkMmgCxZ4QWJWwUGvtoYE k6OZlo7nBZhUpucgTpOL88iC6QJzyhlTKI2KTblBzI3ne2DlyxDJ2z1RbvD/ioKiT0 trIcHGM8Hk1boFhOF72w4/tFEEEJjzn4aiJPXMZzUSDoqoXuDogAEX04+cHy4sTUt/ SCajUlX1eGo7y44YmrB2uFInUDPuc02sQyOJBs+UxEwaZeGelz/TxqUgA0qm7lFGAj A3WeCi+dO5E0oLxPQ+UPI+zdBN5GWrJ4ueKbm0tngZJcFuFk72VDnqUd0m7nONjPYC 0cvQIBRbT2YkQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HDWRX0pmcz9rxN; Tue, 21 Sep 2021 21:18:15 +0200 (CEST) Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB In-Reply-To: <878rzprb8h.fsf@gnu.org> (Tassilo Horn's message of "Tue, 21 Sep 2021 20:52:33 +0200") Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:275264 Archived-At: Tassilo Horn writes: > Tassilo Horn writes: > > Hi Philip, > >> AFAICS, auto-reconnect is triggered when the process sentinel for a >> server receives "deleted\n" but it's only tried once, right? I think >> it would make sense to run reconnect from a timer trying again every >> `rcirc-reconnect-delay' seconds (probably with a minimum of 10 seconds >> or so) because if something's wrong (broken connection) it might take >> a bit longer before reconnect will work. > > I can report that with your new option and > > (setq rcirc-reconnect-delay 10 > rcirc-reconnect-attempts 10) > > rcirc successfully reconnected to libera.chat when they had to restart > all services after a system upgrade. Great! > However, irc.gitter.im again broke at some point in time and did not > reconnect. In the server buffer, there's just > > 01:23 !!! irc.gitter.im: connection broken by remote peer (closed) > > A manual /reconnect worked fine. Thank you for the report, I will look into this specific issue. Were there any other messages about previous reconnection attempts? > Bye, > Tassilo -- Philip Kaludercic