Closed remus-corneliu closed 3 years ago
1.) the new user/password authentication added at Redis 6 is not supported, only the "old" requirepass
config param is supported. When using the old auth type it should work.
2.) what is password protected? Redis-Server? Sentinel? Booth or one of them? Passwords need to be set accourdingly
3.) As the error message states it has connected to the sentinels but asked the sentinels to get a redis server connection for the sentinel-group "redis-dev-ui" which is not known to the sentinels. The default value for the master-group-name
config value is mymaster
. must be set with SENTINEL_NAME
when configured different (sentinel server config param sentinel monitor ...`. Dont know where this snetinel-group name comes from - but not from this config snippet provided.
4.) you tried to configure two different redis connections at redis commander - if you only want to have one connection either set REDIS_HOSTS or SENTINELS. The redis servers itself must not be configured using sentinels - everything needed is queried from the sentinels itself (please read the redis docs about how sentinels work for that).
The SENTINELS
env var only contains commma separated list of host:port values, nothing else as you set.
Problem solved or not? Can issue be closed?
close as there is no feedback, probably solved
I have this simple docker-compose file.
Running this will result in this.
setUpConnection (S:redis-dev-sentinel-3:26379:mymaster-0) Redis error Error: All sentinels are unreachable. Retrying from scratch after 250ms. Last error: ERR No such master with that name redis-dev-ui at /redis-commander/node_modules/ioredis/built/connectors/SentinelConnector/index.js:55:3
Also, if I'm setting up a password for the redis, is going to complain about it and not be able to conenct to the redis server.
I've tried overriding the command section "redis-commander --redis-password ...." it complains about not knowing what
redis-commander
isAm I doing something wrong ? the base image for the redis is redis:6.0-alpine