pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: Overly specific error message?
Date: Thu, 30 May 2019 16:15:53 -0600
Message-ID: <4eaf5b40-ace4-18a1-ac3a-2ee72154e09d@gmail.com> (raw)

Using PG 10.7 and JDBC org.postgresql:postgresql:42.1.4

I had only a single slash between postgresql: and the host

    jdbc:postgresql:/some.host.name:5432

I got

    org.postgresql.util.PSQLException: FATAL: password authentication
    failed for user "some-name"

Naturally I tested and re-tested connecting manually as that user and 
with the supplied password.  Eventually of course I started looking 
around a little more thoroughly...

I wonder if the message needs to be specifically about password 
authentication?

view thread (2+ messages)  latest in thread

Message-ID: <4eaf5b40-ace4-18a1-ac3a-2ee72154e09d@gmail.com>
Permalink:  ../4eaf5b40-ace4-18a1-ac3a-2ee72154e09d@gmail.com/
Also on:    postgresql.org/message-id/4eaf5b40-ace4-18a1-ac3a-2ee72154e09d@gmail.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-jdbc@postgresql.org
  Cc: robjsargent@gmail.com
  Subject: Re: Overly specific error message?
  In-Reply-To: <4eaf5b40-ace4-18a1-ac3a-2ee72154e09d@gmail.com>
  References: <4eaf5b40-ace4-18a1-ac3a-2ee72154e09d@gmail.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