Hi all, I’m trying to connect my meteor server to a remote redis instance using ioredis. I’m able to connect to the instance successfully using a regular node server, but with my meteor server I keep getting a NOAUTH Authentication required
error. If I use the wrong password, I get an error saying it’s the wrong password.
I think this has to do with the nature of Meteor’s threading and is not related to my configuration. Does anyone know if I should be using wrapAsync or some other sort of function on the server to make this work? Here is a sample of my configuration here:
import Redis from 'ioredis';
const connection = {
host: Meteor.settings.private.redis.host,
port: Meteor.settings.private.redis.port,
password: Meteor.settings.private.redis.password,
};
const Redis = new Redis(connection);