As of redis 6, Heroku now requires you to use secure (rediss) urls. Additionally, Heroku is using self-signed certificates. This doesn't seem to work with the current setup.
I believe the change required here is to check the protocol and if rediss, pass in the following option:
tls: {
rejectUnauthorized: false,
}
We might also want to upgrade the redis node package as well from 3 to 4 although there may be some breaking changes.
As of redis 6, Heroku now requires you to use secure (
rediss
) urls. Additionally, Heroku is using self-signed certificates. This doesn't seem to work with the current setup.I believe the change required here is to check the protocol and if
rediss
, pass in the following option:We might also want to upgrade the
redis
node package as well from 3 to 4 although there may be some breaking changes.