question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

no pg_hba.conf entry for host

See original GitHub issue

Trying to connect to a PostgreSQL database using 1.8 mac, I get the error no pg_hba.conf entry for host.... I tried a different client and it managed to connect fine. The database is the free Heroku PostgreSQL one.

Any ideas?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
maxcnunescommented, May 30, 2016

Looking in this error on stackoverflow seems you have to connect over HTTPS. Try to enable the SSL option on sqlectron server connection.

0reactions
maxcnunescommented, Jun 7, 2016

The new version with the fixing for this bug was released yesterday.

Read more comments on GitHub >

github_iconTop Results From Across the Web

connect to PostgreSQL server: FATAL: no pg_hba.conf entry ...
I had the same error when I tried to connect to a local database using an SSH tunnel. I solved it by changing...
Read more >
Error Connecting to database FATAL : no pg_hba.conf entry ...
Add the IP address of the application (e.g., Jira) server to the pg_hba.conf and make sure that the method is not set to...
Read more >
Seeing "FATAL: no pg_hba.conf entry" errors in Postgres
"FATAL: no pg_hba.conf entry for host" errors indicate that there was a failed authentication attempt to the database, so the connection couldn't be ......
Read more >
no pg_hba.conf entry for host - postgresql - Stack Overflow
Here the issue was due to PostgreSQL database has ssl_min_protocol_version set to TLSV1.2 expecting a encrypted connection and the client ...
Read more >
"FATAL: no pg_hba.conf entry" - How to fix the PostgreSQL error
1. Log in to Postgres SQL server with the use of ssh console. · 2. Now, move to the data directory with the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found