I was about to make some updates to my site and had the same issue. I think it has to do with:
https://help.heroku.com/VOGKZ7YO/postgres-database-connection-issues-ssl-off
From what I understand, they started enforcing SSL at the end of February. Which sounds fine, until I realized that the Heroku free tier (Hobby Dev) doesn’t allow for SSL. I am trying to find instructions on a work around, the most I have found so far is:
I scrolled to node.js, and did that:
Alternatively, you can omit the ssl
configuration object if you specify the PGSSLMODE
config var: heroku config:set PGSSLMODE=no-verify
.
But so far it hasn’t worked…