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-appAny ideas? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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
xxxxxandxxxxare 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=requireto theDATABASE_URLbut this doesn't seem to work either.All reactions