pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Hemil Ruparel <hemilruparel2002@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: How to debug authentication issues in Postgres
Date: Sat, 28 Nov 2020 07:56:55 -0800
Message-ID: <b9022916-0cb2-44ff-27c5-0402c293b7b5@aklaver.com> (raw)
In-Reply-To: <CANW1aT-jdhVhWPDxXSTUH5cA9CyjR9DyDVHfzW5-HhfoSNrxzA@mail.gmail.com>
References: <CANW1aT9EGHqcj4Qc4e83fOS4MBNVUpL9vPf6nknBd__DmeBGfA@mail.gmail.com>
	<5a5ca12d399ce798d027575f1271e831a482e9be.camel@cybertec.at>
	<CANW1aT9gd6gEt0bF6YFRoH7khrPNH9p1wzwjksL2SW8uriRmvQ@mail.gmail.com>
	<555b511d7047970c9f940f6da62b91416831a73e.camel@cybertec.at>
	<CANW1aT8gyiuK4bZkMuuGoWLz2LBkw4M_yoivT_+1KDE99-SHsw@mail.gmail.com>
	<CANW1aT-Oj11RQUj62UQxzde6ziUpQjpv3JJgr__F4t48RZ6mMg@mail.gmail.com>
	<dcbfb6db-68af-e3a4-f101-92cac953928e@aklaver.com>
	<CANW1aT8ZF4XLUDxo3ZunXS+_KqW1UoJS_M+t0Xu_-zRchy8osg@mail.gmail.com>
	<CANW1aT-jdhVhWPDxXSTUH5cA9CyjR9DyDVHfzW5-HhfoSNrxzA@mail.gmail.com>

On 11/28/20 6:08 AM, Hemil Ruparel wrote:
> I commented out scram-sha-256 lines for IPv4 and IPv6. I still got 
> authentication failure. The log output now says:
> FATAL:  password authentication failed for user "centos"
> DETAIL:  Connection matched pg_hba.conf line 89: "host       database    
> user 0.0.0.0/0 <http://0.0.0.0/0;               md5"
> 

You have to remember we have no idea of how you are trying to make the 
connection. So where does this failure occur, with all connection 
methods, just DataGrip, some other method?

-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (27+ messages)  latest in thread

Message-ID: <b9022916-0cb2-44ff-27c5-0402c293b7b5@aklaver.com>
Permalink:  ../b9022916-0cb2-44ff-27c5-0402c293b7b5@aklaver.com/
Also on:    postgresql.org/message-id/b9022916-0cb2-44ff-27c5-0402c293b7b5@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, hemilruparel2002@gmail.com, laurenz.albe@cybertec.at
  Subject: Re: How to debug authentication issues in Postgres
  In-Reply-To: <b9022916-0cb2-44ff-27c5-0402c293b7b5@aklaver.com>
  References: <CANW1aT9EGHqcj4Qc4e83fOS4MBNVUpL9vPf6nknBd__DmeBGfA@mail.gmail.com> <5a5ca12d399ce798d027575f1271e831a482e9be.camel@cybertec.at> <CANW1aT9gd6gEt0bF6YFRoH7khrPNH9p1wzwjksL2SW8uriRmvQ@mail.gmail.com> <555b511d7047970c9f940f6da62b91416831a73e.camel@cybertec.at> <CANW1aT8gyiuK4bZkMuuGoWLz2LBkw4M_yoivT_+1KDE99-SHsw@mail.gmail.com> <CANW1aT-Oj11RQUj62UQxzde6ziUpQjpv3JJgr__F4t48RZ6mMg@mail.gmail.com> <dcbfb6db-68af-e3a4-f101-92cac953928e@aklaver.com> <CANW1aT8ZF4XLUDxo3ZunXS+_KqW1UoJS_M+t0Xu_-zRchy8osg@mail.gmail.com> <CANW1aT-jdhVhWPDxXSTUH5cA9CyjR9DyDVHfzW5-HhfoSNrxzA@mail.gmail.com> <b9022916-0cb2-44ff-27c5-0402c293b7b5@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox