Re: BUG #9518: temporary login failure - "missing pg_hba entry" - Mailing list pgsql-bugs

From Mike Blackwell
Subject Re: BUG #9518: temporary login failure - "missing pg_hba entry"
Date
Msg-id CANPAkguNy7Yc4Fj0DsaTcixHAFsfZoXbkJZDJyD+7J9CLMTL+w@mail.gmail.com
Whole thread Raw
In response to Re: BUG #9518: temporary login failure - "missing pg_hba entry"  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: BUG #9518: temporary login failure - "missing pg_hba entry"  (Mike Blackwell <mike.blackwell@rrd.com>)
List pgsql-bugs
Hmm... Interesting thought.  The server is built with SSL, but there's
nothing on the app side that's explicitly enabling SSL, nor is the user
account in question set up for SSL.  That's on the TODO list at the moment.
:)

So, looks like that's not it.  Thanks, though.  I'd missed that possibility=
.

___________________________________________________________________________=
_______
*Mike Blackwell | Technical Analyst, Distribution Services/Rollout
Management | RR Donnelley*
1750 Wallace Ave | St Charles, IL 60174-3401
Office: 630.313.7818
Mike.Blackwell@rrd.com
http://www.rrdonnelley.com


<http://www.rrdonnelley.com/>
* <Mike.Blackwell@rrd.com>*


On Mon, Mar 10, 2014 at 9:58 AM, Alvaro Herrera <alvherre@2ndquadrant.com>w=
rote:

> mike.blackwell@rrd.com wrote:
>
> > 2014-03-09 19:53:18 CDT [30633]: [1-1] username@databasename10.17.x.y(5=
3455)FATAL:  28000: no pg_hba.conf entry for host "10.17.x.y",
> user "username", database "databasename", SSL off
> > 2014-03-09 19:53:18 CDT [30633]: [2-1] username@databasename10.17.x.y(5=
3455)LOCATION:  ClientAuthentication, auth.c:486
>
> > 2014-03-09 20:05:15 CDT [32505]: [1-1] username@databasename10.17.x.y(5=
4134)LOG:  00000: duration: 13641.600 ms  execute dbdpg_p28498_2:
> >
> >                         select ...;
> >
> > 2014-03-09 20:05:15 CDT [32505]: [2-1] username@databasename10.17.x.y(5=
4134)LOCATION:  exec_execute_message, postgres.c:1991
> >
> > The auth failure shows up seven times over a span of approximately six
> > seconds, with the one above being the last of the sequence.
>
> So the connection that actually executes queries, is using SSL?  I'm
> betting it's first trying one without SSL, failing, then trying with
> SSL and succeeding.
>
> --
> =C3=81lvaro Herrera                http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Training & Services
>

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #9518: temporary login failure - "missing pg_hba entry"
Next
From: alf.kristian@gmail.com
Date:
Subject: BUG #9519: Allows storing scalar json, but fails when querying