Hi @anon37102731 - appreciate the help. I was really hoping this would be it, but alas, it appears not.
I added DATABASE_REJECT_UNAUTHORIZED=false
to the environment, keeping DATABASE_SSL=true
and am having the exact same issue: timeout with no errors.
I even have the newer version of the code in database.js
:
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;
}
}