Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sBj23-000tQ6-Jk for pgsql-general@arkaria.postgresql.org; Mon, 27 May 2024 22:41:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sBj21-007vBd-IU for pgsql-general@arkaria.postgresql.org; Mon, 27 May 2024 22:41:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sBj1z-007vBV-Vb for pgsql-general@lists.postgresql.org; Mon, 27 May 2024 22:41:29 +0000 Received: from fhigh6-smtp.messagingengine.com ([103.168.172.157]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sBj1u-0015FZ-TE for pgsql-general@lists.postgresql.org; Mon, 27 May 2024 22:41:27 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.nyi.internal (Postfix) with ESMTP id D6E601140133 for ; Mon, 27 May 2024 18:41:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 27 May 2024 18:41:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1716849680; x=1716936080; bh=YCdBlrr3FXz5F1NbpUpiD0eJ6KdNNKUi31KdEbcidxo=; b= U1B28qPt7rRAYTfHF1uuP08NJ52SOX4MEvZhpJ0qC5NGoTJUuqCKCTUin1gYW8wg y0t++vWOC8CLaa5A3MnUtJtXv6lcb00YTlNBHIkrC+R/mPlFo5XioXZr16Pyffa7 jOYoioa+z2u+E4zXXIwE6dPgsb7cw90kU5DLNOvVPV1Ahink8/qc+4oc5SHtQFHH fn/j6M/nKtR4KDd21aOPcHPGGXHRN2fkmDHabctqgpbeyyzIQWCJ1eWENCzT2G41 vrRw9yEkUNBIr96O7Eu3R2+kCxAyr7fN+9FQ+/FVBuyq82DRlLl28d8gR/0JQ4xC f6COVXTBO6RO/7jx8tqvRw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1716849680; x= 1716936080; bh=YCdBlrr3FXz5F1NbpUpiD0eJ6KdNNKUi31KdEbcidxo=; b=Z 5QKreqaAL0KkR1gM/Ey0UWApcaHFF1Lf33J0ga8WKNcDjwuBKK9y2zPV4/K3JxL1 uP9Tq+huB7DhH9KCSrSvuqIdRKCOMtuckU+8BnRk+xRHTqX3d8QjQjRKdQqzCu7l 7ekXRabZeUlphm/QvO4wpQYyZH7RbLkBldpM9XuEnx9Grw4txi1ShX7mGFRF+QbH 1D4YtEVTdP50WYedlTzDjflMNkkNW9kp80pSRA/kwUXkpG+rOnMDoO2jF3+538h5 WqmHHCGpDZi5zk2U/9at898FJg96ys63QGnkZPZIxnm3eKV2mh1Y1bcPUXJ5uz1g vc6B5Krqe/Gxt+uJKwQ6A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdejhedgudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtje ertddtvdejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepkeefhfffgf elgfejheehleehvdegffefleffvdevtdeiffeuhfeivdevtdelhfejnecuffhomhgrihhn pehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 27 May 2024 18:41:19 -0400 (EDT) Message-ID: <7e431e58-8d1f-4394-bedc-dc91b30b2b28@aklaver.com> Date: Mon, 27 May 2024 15:41:19 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: expected authentication request from server, but received H To: pgsql-general@lists.postgresql.org References: <20240523070649.7j6r2lidqrmhmr3o@hjp.at> <524370.1716499394@sss.pgh.pa.us> <20240527211942.wmdr2etj445hamz6@hjp.at> Content-Language: en-US From: Adrian Klaver In-Reply-To: <20240527211942.wmdr2etj445hamz6@hjp.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 5/27/24 14:19, Peter J. Holzer wrote: > On 2024-05-23 17:23:14 -0400, Tom Lane wrote: >> "Peter J. Holzer" writes: >>> One of our users reports getting the error message >>> "expected authentication request from server, but received H" >>> when trying to connect to the database. >> >> That's very bizarre, and I don't recall any similar reports in the >> recent past. >> >>> Server is PostgreSQL 15.7 (Ubuntu 15.7-1.pgdg22.04+1) >>> I haven't been able to find out what client version they are using yet, >>> but I suspect it's quite old. >> >> It would definitely be interesting to find out what the client-side >> code is, including the openssl version being used. > > They have psqlODBC 9.3 and 13.2 on a 64-bit Windows platform (probably > Windows 10). The problem occurs with both. I tried to replicate it with > psqlODBC 13.0 and couldn't. Just to be clear that is 9.03 and 13.02. > > OpenSSL is bundled with psqlODBC, AFAICS. For 13.0 that would be 1.1.1.8 > (hmm, that doesn't look like an OpenSSL version. Would that be 1.1.1h in > Linux terms?). But the fact that it happens with two very different > versions but I can't replicate it with one in between (and quite close The only thing I could find that relates to SSL directly in the move from 13.00 --> 13.02 is: https://github.com/postgresql-interfaces/psqlodbc/commit/4eaa430e3ef06162a5655dc7baff9be40f2e1cce Which happened at 13.01. > to one of them) makes it unlikely (IMHO) to be just version related. > There must be something else going on. I've asked them (their IT > department, not the user) to try to disable any anti-virus software. > That's a bit of a reach, but always a possibility if something behaves > weirdly on Windows. > > hp > -- Adrian Klaver adrian.klaver@aklaver.com