So I deployed my last version of my strapi on heroku back in October 2020 and everything worked fine. Since last week, the backend crashed and it’s not working anymore. So I tried to restart it and I’m getting this error:
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.
We will need more information to help you with that one, it appears to come from the strapi-plugin-documentation, did you change anything related to it since it last compliled? or maybe you updated something?
I have another problem. So my Production Strapi is online, but I can’t login with my username, because it is asking for a e-mail adress and I tried everything.
For local: I deleted ssl: { rejectUnauthorized: env.bool('DATABASE_SSL_SELF', false), // For self-signed certificates }
out of config/database.js and when I start strapi locally the admin page is just empty.