Heroku Postgres

0 votes
asked Dec 12, 2016 by anonymous

I am having difficulty trying to connect to a Heroku Postgres instance. 
I have tried with and without sslfactory = org.postgresql.ssl.NonValidatingFactory

Connection failed: Failed to connect: FATAL: no pg_hba.conf entry for host "xxx.xxx.xxx.xxx", user "uuuuuuuu", database "dbdbdbdbdbdb", SSL off

I am unclear how to set this up


1 Answer

0 votes
answered Dec 15, 2016 by Adrien Lavoillotte

This seems to be a PostgreSQL configuration / authentication issue. See the relevant PostgreSQL documentation.