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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…