TypeORM cannot connect to Remote Heroku Postgress Database #36
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Milestone
Describe the bug
While connecting to the Heroku Postgres server the connection is refused with an error that
SSL is not configured
and ifSSL: true in config the error is
self-signed certificate`.To Reproduce
Steps to reproduce the behavior:
npm run start:prod
Expected behavior
The Server must connect to the Postgres DB with no errors.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Most probably the reason is that the Postgress database hosted on Heroku is configured with
ssl-only: true
.The text was updated successfully, but these errors were encountered: