There are a number of Heroku CLI Postgres commands that all return the same error. For example:
$ heroku pg:bloat
psql: FATAL: no pg_hba.conf entry for host "...", user "...", database "...", SSL off
At least one of these commands has worked in the past, but does not now.
The database appears to be working fine otherwise. I can access it via my application's interfaces.
I do not see a way to toggle SSL in the Heroku Postgres dashboard. What could be causing this and how could I fix it?
~/.asdf-postgres-configure-options
with the contentexport POSTGRES_EXTRA_CONFIGURE_OPTIONS="--with-openssl"
. This will then be used duringasdf install
. See here. – Louralourdes