skip to Main Content

Not able to connect to heroku redis

const redis = require("redis"); let client = redis.createClient({ host: process.env.host, port: process.env.port, password:process.env.password }); (async () => { client.on('error', (err) => console.log('Redis Client Error', err)); await client.connect(); console.log("connected to redis") })(); I have added redis-heroku addon to my project, Now…

VIEW QUESTION

How to Connect Heroku Redis TLS Node?

I dont seem to be able to connect to Heroku Redis using TLS on Node. These docs arent really much help: https://devcenter.heroku.com/articles/securing-heroku-redis Does anyone have a working example? Should I be using REDIS_URL or REDIS_TLS_URL? Im using node_redis v3

VIEW QUESTION
Back To Top
Search