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 1kig5k-0005Ix-0m for pgsql-general@arkaria.postgresql.org; Fri, 27 Nov 2020 15:55:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kig5h-00038Z-Ie for pgsql-general@arkaria.postgresql.org; Fri, 27 Nov 2020 15:55:21 +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 1kig5h-00038S-BB for pgsql-general@lists.postgresql.org; Fri, 27 Nov 2020 15:55:21 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kig5f-0003ou-6a for pgsql-general@lists.postgresql.org; Fri, 27 Nov 2020 15:55:20 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 0ARFtDDs707018; Fri, 27 Nov 2020 10:55:13 -0500 From: Tom Lane To: Hemil Ruparel cc: Adrian Klaver , "Zwettler Markus (OIZ)" , "pgsql-generallists.postgresql.org" , Laurenz Albe Subject: Re: How to debug authentication issues in Postgres In-reply-to: References: <5a5ca12d399ce798d027575f1271e831a482e9be.camel@cybertec.at> <555b511d7047970c9f940f6da62b91416831a73e.camel@cybertec.at> <1ae4c30f53a14dcba7579844a637a951@zuerich.ch> <3641f7c1-9d05-039c-9bf4-30ee5e317773@aklaver.com> <704984.1606491414@sss.pgh.pa.us> Comments: In-reply-to Hemil Ruparel message dated "Fri, 27 Nov 2020 21:14:57 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <707016.1606492513.1@sss.pgh.pa.us> Date: Fri, 27 Nov 2020 10:55:13 -0500 Message-ID: <707017.1606492513@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hemil Ruparel writes: > Thanks for the clarification. According to this page, > https://jdbc.postgresql.org/documentation/changelog.html#version_42.2.0, > scram support was added in JDBC driver 42.2.0. I am on 42.2.18. And using > the java code mentioned above, I still get the same error. If you back off the pg_hba setting to md5, does it work? regards, tom lane