From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.devel Subject: Re: GnuTLS error -54 Date: Sat, 11 Jun 2022 07:18:34 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LWkM1Np0dCUHqgmO" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5263"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 11 07:20:19 2022 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 1nztXn-0001D5-CS for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Jun 2022 07:20:19 +0200 Original-Received: from localhost ([::1]:48254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nztXm-0007aF-5Y for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Jun 2022 01:20:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nztWA-0006CL-SC for emacs-devel@gnu.org; Sat, 11 Jun 2022 01:18:38 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:57188) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nztW8-0004r9-D4 for emacs-devel@gnu.org; Sat, 11 Jun 2022 01:18:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:Date:Sender:Reply-To:Cc: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=4JHQ9WPqYKbGlJzs7HRvMuzTRpBtkW+w9jVrDoEYj4s=; b=J3dOMoMozKqc+xq2rT+gHJDEOL oVTQVLrDC9PX6b6ad1NQZQVZi4+77fXXilG2OJ1X9WqDzAowND0lHbfYt6XC5cblVRnWAvf8TGLjN JvH+rJxIz5oy4MN1dh0ACEGoTb46rqzRGqUf6eLErlM2vqPlC/Wpqar94lwHS5LraPpBKuaofa25Q ae1EEBagWRx5mbpFt9xkpi7FwPL0+JmOLFlSvvJI9rdbCIpGb2DgDxJb25b0ljUwgzmwFAD5//Y16 vsvciM6kHsP3DuHYQlieBz6dZ4FtOcmnPk14DG+2gphaGU4DF2DOqSZHSi9dPRpysxIOk1/pdixpi 7sDp2Fig==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1nztW6-0006rm-9x for emacs-devel@gnu.org; Sat, 11 Jun 2022 07:18:34 +0200 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:291015 Archived-At: --LWkM1Np0dCUHqgmO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 10, 2022 at 05:36:34PM -0400, Stefan Monnier wrote: > Since yesterday, my attempts to connect to my IMAP server from Gnus tend > to give me a GnuTLS error number -54 (GNUTLS_E_PULL_ERROR, according to > https://www.gnutls.org/manual/html_node/Error-codes.html). >=20 > Web searches seem to indicate noone knows what this error is (or more > likely those who do don't write in web-crawled forums) but the general > consensus among the ignoramus (among which I sadly count myself) seems > to be that it's a transient error, and indeed, if I try again a few > times it ends up working. Ignoramus here, too (even possibly ignoramus squared :), but I wanted to show of the new plaything I stumbled upon. I put GNUTLS_E_PULL_ERROR into https://sources.debian.org/ yields (among many) this hit, where that seems to happen: https://sources.debian.org/src/gnutls28/3.7.4-2/lib/system/ktls.c/?hl=3D3= 91#L391 So the meaning seems to be "we received some funny error in recvmsg which we didin't bother to cach explicitly (the latter being EAGAIN, EINVAL, EMSGSIZE, EBADMSG). Having a look at which other errors recvmsg documents, anything is possible, a more harmless being, e.g. out of memory. Cheers --=20 t --LWkM1Np0dCUHqgmO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCYqQlpAAKCRAFyCz1etHa Rk8LAJ9dksMm28M1m4WRhDN/M4OlL0GauwCdEaL5LQJJ/rqT3Y7KDfrOiqoufB4= =+7To -----END PGP SIGNATURE----- --LWkM1Np0dCUHqgmO--