Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ehh8g-0000TB-Nk for pgsql-general@arkaria.postgresql.org; Fri, 02 Feb 2018 19:36:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehh8f-0004YM-I8 for pgsql-general@arkaria.postgresql.org; Fri, 02 Feb 2018 19:36:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ehh8e-0004Xh-Uf for pgsql-general@lists.postgresql.org; Fri, 02 Feb 2018 19:36:45 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ehh8a-0001iP-Ne for pgsql-general@lists.postgresql.org; Fri, 02 Feb 2018 19:36:43 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 382E42242E; Fri, 2 Feb 2018 14:36:26 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Fri, 02 Feb 2018 14:36:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=b3J9wS fjVRBaSeaCrRxAn7qYwgNbXSUa753rEXW8qho=; b=aJP+oKevZd1HeJQt0XWvYh 5S3qpvMeKLiXlE85a/qyV4+t5zX02Ju1lGbPlrEZKVU0aLxjzNAKnR/i8Gkuai0m 1ESIIykVqRLZtlw345T4f/+0eCkRuqazBZHlg++RYJWiqtIlCwejnAHEwaB8pCsM VV+DTTKX6/W6rxcmp0xvx/HE0TlohnIldhT8T4ES65GXpVpdm4ywynm2g3Kt0d2y aCO8atolqtzbok1m6T7S24e4NbCdq76wgcfM5+si9t0D+9khrg7tccwcm/gtauIz Nz+NwCXfMiEsFBQjdXot0/WVQsA8XNtFouVnE7numr1mhtuAFcfi9AWaQFEicjYA == X-ME-Sender: Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id E1540249D4; Fri, 2 Feb 2018 14:36:25 -0500 (EST) Subject: Re: Unexpected ErrorMessage reply to SSLRequest To: =?UTF-8?Q?Micha=c5=82_Muska=c5=82a?= , pgsql-general@lists.postgresql.org References: <4ebe024e-3937-4320-adb4-1d7a29f4d783@Spark> From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <03ea10e8-0c03-8af6-2b78-a8cc88a4e2f1@2ndquadrant.com> Date: Fri, 2 Feb 2018 14:36:25 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <4ebe024e-3937-4320-adb4-1d7a29f4d783@Spark> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 1/31/18 17:01, Michał Muskała wrote: > I'm one of the maintainers of postgrex [1] - an Elixir client for > Postgresql. We implement the wire protocol and connect directly through > tcp. We got a bug report indicating we got an unexpected ErrorMessage > packet in reply to SSLRequest. What did the client error message say, and what did you see in the server log? > I wonder, if this is a bug or rather an omission in the docs that the > ErrorMessage can happen under some failure scenarios other than lack of > SSL support. I'm not sure, but the documentation also says that you should handle it nonetheless. ;-) -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services