Postgres Connection Error on RDS

Summary

The user is encountering a connection error to a Postgres database on RDS due to a missing pg_hba.conf entry for the specified host and user.


Question

We are getting an error connecting to a Postgres database hosted on RDS.
Caused by: org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "{our EC2's IP address}", user "xxx", database "xxx", no encryption



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.

Join the conversation on Slack

['postgres', 'rds', 'connection-error', 'pg_hba.conf', 'ec2']