Hi @Sliman_Medini,
First of all: thank you for helping me I really appreciate it.
I found an previous post about a similar issue: Struggling to set up Forest with my Heroku-deployed Postgres DB
Do you think it’s related? I checked in config > databases.js and the code seems to already be correct:
if (process.env.DATABASE_SSL && JSON.parse(process.env.DATABASE_SSL.toLowerCase())) {
const rejectUnauthorized = process.env.DATABASE_REJECT_UNAUTHORIZED;
if (rejectUnauthorized && (JSON.parse(rejectUnauthorized.toLowerCase()) === false)) {
databaseOptions.dialectOptions.ssl = { rejectUnauthorized: false };
} else {
databaseOptions.dialectOptions.ssl = true;
}
}