a year ago
When I try to use REDISURL variable in my application it doesn't work as intended, but when I change to REDISPUBLIC_URL it works fine, could somebody help me with this issue?
I'm already creating my connection with redis as this:
const redisURL = new URL(process.env.REDIS_URL);
redis: {
family: 0,
host: redisURL.hostname,
port: Number(redisURL.port),
username: redisURL.username,
password: redisURL.password
}
ⓘ Deployment information is only viewable by project members and Railway employees.
2 Replies
a year ago
Hello,
Please see our docs on this topic -
Thanks for the advice, I was using a lib called bee-queue that hasn't support for ioredis.
So I needed to change my whole project to use bullmq, which allows ioredis connections and now everything is working as expected using the internal connection.
Thank you!
Status changed to Solved brody • over 1 year ago

