ERR Client sent AUTH, but no password is set
This will might work if you don't want to set the password.
spring.redis.host=127.0.0.1
spring.redis.port=6379
spring.redis.password=
Leave the password field as blank.
OR
Use the requirepass a password option
redis 127.0.0.1:6379> AUTH PASSWORD
(error) ERR Client sent AUTH, but no password is set.
redis 127.0.0.1:6379> CONFIG SET requirepass "mypass"
OK
redis 127.0.0.1:6379> AUTH mypass
OK
There is no password set in your Redis
instance. Password sent with redis-cli -a
is just being ignored.
Now, you may set the password in redis instance. To do so, edit redis configuration file, set requirepass
option and restart redis instance.
Or, just ignore password option while communicating with redis. E.g.
jedisPool = new JedisPool(jedisPoolConfig, host, port, IDLE_CONNECTION_TIMEOUT);