Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nA2nR-0001GB-AN for pgsql-general@arkaria.postgresql.org; Wed, 19 Jan 2022 04:42:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nA2nQ-0000BW-7h for pgsql-general@arkaria.postgresql.org; Wed, 19 Jan 2022 04:42:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nA2nP-0000BD-Qy for pgsql-general@lists.postgresql.org; Wed, 19 Jan 2022 04:42:07 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nA2nM-00016k-Vk for pgsql-general@postgresql.org; Wed, 19 Jan 2022 04:42:06 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 0BBD05C02E7; Tue, 18 Jan 2022 23:42:04 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 18 Jan 2022 23:42:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=/1qyQwOONDcQDaHn0rALyXkDVEx t6+wyB+My7/tjofc=; b=tVk4kWLxpnZGAK0HmkYrzLxfXs0NPWNu5cS5XPkd73S lKdQPjdTg5TXeVMkAuGjRDe6zZVLVPDccFFX3hu4ZPKPReaEynNzKUpYZydSSa0R jZ8MsS78eKd3+75naiTRFxU9LAxU0TvagK/2XTlosP+imlqMMhMsUQA2ZbCORsFr X6Sj2C9/Jp2OsfAGEoXO8ng17OV/AcvyQz/oYyrdheAvkkcdbLFFBzYcpsh7Qscz psdDKBWdF5DF8gqSAjSI3PG7NfmeBB79aAzeq1I5c2IRyTGbeoaelq5iJK2wrPUz jp4baZZ3AOtKbse0ejiKmMzawIp4TT8DLLv8GB9Hk9g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=/1qyQw OONDcQDaHn0rALyXkDVExt6+wyB+My7/tjofc=; b=lIWXV82L18GHa/XNQAF9yi OWO/tS6VwSLBLETKs+Krq+s1jytus4Fi/65DhBb3Df9SpB7i/FeislkGidWTPvxa Rhr/WEKcuAsE8tdj7lyuwZuB1HI3KktLMXY92Duun9NSPI67T45yWFrDWBvxlRo+ sLW8JUg19UXfcjff+XLnAfNs5UzIp2GCue6P/D78u26OqP3b+tMwzXgOYZXwDCky lGx8XZ+3K6lSNA0toabUUIiRVvtE9zrQFZ9w5PnJWD+jp1Qtzp1dOnizsD1YyraH JrmBCw6MK71OVnkFrkS+5cIL8jJxHIXz6UqZUcUKCh5f1EEsyfiXYYZ5BHJrdXuw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeggdejvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdefhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepfeeuvddvieelffevlefghfeugeeh ueekhffhveehieehtdehkeeljeeijeeifffhnecuffhomhgrihhnpehophgvnhhsshhlrd horhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep mhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 Jan 2022 23:42:02 -0500 (EST) Date: Wed, 19 Jan 2022 13:42:00 +0900 From: Michael Paquier To: Carla Iriberri Cc: pgsql-general@postgresql.org Subject: Re: could not accept SSL connection: Success Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qVCRnh96jVmFcrWD" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --qVCRnh96jVmFcrWD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jan 17, 2022 at 05:05:52PM +0100, Carla Iriberri wrote: > I saw previous discussions where different errors were logged with the > "Success" > message and this was corrected/treated as a bug, but I couldn't find similar > reports specific to "could not accept SSL connection". Is this a known > issue or > case? Not based my recent mailing list memories, but I may be running short. The error comes from the backend as you say, where this log would expect something in saved_errno to feed %m. And, upstream documentation tells that: https://www.openssl.org/docs/manmaster/man3/SSL_get_error.html "On an unexpected EOF, versions before OpenSSL 3.0 returned SSL_ERROR_SYSCALL, nothing was added to the error stack, and errno was 0. Since OpenSSL 3.0 the returned error is SSL_ERROR_SSL with a meaningful error on the error stack." This would mean that relying on %m would be wrong for this case. And I guess that you are using a version of OpenSSL older than 3.0? -- Michael --qVCRnh96jVmFcrWD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmHnlpgACgkQnvQgOdby QH3XPxAAgXEpE8ZdOVKqs0h99Zvr8YBRIfF3BoSKcXmlZdLA6osNSfC4bxlQuRbE 0tM8Ptmu5k52SGa3bIxbtH73Tdst6AE6V+G289i1AIkqeKsqPIJlDchhHUzsMuDl WmGZJwXd2dUghmqMt8fZESvObp889F7N5FEqZ5z+VB6Je26kOS3JCVRgeN3gr/Gf vMXPkGAWLl82UEg0LjUc/R9G2IhHjx9ZPvtn2JeTIegaNjPwvLB23/NLVpDPqPHG KZovs/lGy3Cj6dZvFEl8tx9lm6AdesAUMGgC6hG5EIocJbv3LZqKWnY3fgk9XwHW W7fNTCoPFSli+WTj+IzkfHZFNnOxz1sfX1TYwXQM9yBzgzaGQHGWdb29Vd6Rgz81 JzdFmLtPMKhcSG6wFbfYJzDnRZTfNBMRakKRKb/3QlOQP+kGyNdeb6ULSpG672vc EfeUFGItMmxpQ32bZADRXBE97ty7d84pPcx+ljmkK43pXfKtjMjFZzJvn9ImArRN bV3j9dykyptRn/caWJ8q55QxijT/No59yR+T5lsceRb19yJlniTFodXmA4vL1gdg I5HxN6p2JXnbDKyR34EruPzyyBe1jK8Kh6EpzzZbJuFeZvl//VvBppgNhcMX0BEz /LN+uwVGjLql6gwqzN26TSHVoNrZrQN7tE7civVV1VU+G8W4zes= =cjNH -----END PGP SIGNATURE----- --qVCRnh96jVmFcrWD--