You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use this configuration for a sentinal connection
var REDIS_CONFIG = {
sentinels: [{ host: 'redis-1', port: 26379},
{ host: 'redis-2', port: 26379},
{ host: 'redis-3', port: 26379}],
name: 'redismastert',
db: 0
};
var REDIS_CLIENT = new Redis(REDIS_CONFIG);
But connection fail to establish due to:
info: connected to sentinel redis-1:26379 successfully, but got a invalid reply: null
info: connected to sentinel redis-2:26379 successfully, but got a invalid reply: null
info: connected to sentinel redis-3:26379 successfully, but got a invalid reply: null
what is this invalid reply and how can i solve it?
thanks luin, love this library
The text was updated successfully, but these errors were encountered:
It's because sentinel nodes didn't return the master address.
Could you please use redis-cli to connect to one of the sentinel and see what does it return?
I'm trying to use this configuration for a sentinal connection
But connection fail to establish due to:
what is this invalid reply and how can i solve it?
thanks luin, love this library
The text was updated successfully, but these errors were encountered: