no pg_hba.conf entry for host when connecting to Postgres via Heroku #1189
Unanswered
pezholio
asked this question in
Self-Hosted Support
Replies: 1 comment
-
OK, so I've got over that hurdle now by adding:
to line 186 of config/runtime.exs (which I'll try and craft into a PR with some env config) However, now I'm hitting an issue when I try to run the migrations: heroku run db migrate -a my-app
Any ideas? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I'm trying to run Plausaible via Heroku Container Registry. I have it all set up, but the app doesn't seem to connect to the database. I get the following error in my logs:
(Where
xxxxx
andxxxx
are the username and database name of my Postgres instance)And then a final failure of:
It seems as though, by default, the Plausible app doesn't want to connect via SSL, but Heroku requires this. Is there any way round this? I've tried appending
?sslmode=require
to theDATABASE_URL
but this doesn't seem to work either.Beta Was this translation helpful? Give feedback.
All reactions