Hey guys! Does anyone know what might be causing t...
# orm-help
r
Hey guys! Does anyone know what might be causing this?
Copy code
prisma_1  | Exception in thread "main" org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "187.104.214.232", user "dcqbwauyzfxexj", database "d8ep2m9i0v9ar2", SSL off
Things to note: 187.104.214.232 is my IP address. I am trying to use Prisma locally by connecting to an external PostgreSQL db (heroku addon), but I'm getting this error. Tried everything and searched everywhere.
i
What's in your compose file?
r
I deleted it, but there was the standard content, along with my external db connect info. What I mean is: I didn't changed it.
j
👋 that's an error from Postgres – Heroku won't allow you to connect to Postgres without SSL which is why you're seeing that error🔒
think you'll need
ssl: true
in your prisma DB options