Issue
I am trying to connect to redis server using redisson client in spring boot application. While connecting to redis using user name and password, getting the below exception
Command execution timeout for command: (AUTH), params: (password masked), Redis client: [addr=redis://:]
But I am able to connect to same redis instance with same credentials using redis insight but facing issue while accessing from spring boot application using redisson client.
I am using bitnami master slave redis set up. Loading the redis configurations as below
Config config = new Config();
config.useSingleServer().setAddress("redis://" + serverURI).setUsername("username").setPassword("password");
return Redisson.create(config);
Providing the password as a normal string.
Do we need to mask or unmask the password?
Solution
Issue has been fixed by redisson team. Please find the resolution github.com/redisson/redisson/issues/4311
Answered By - Muqthar Ali
Answer Checked By - Pedro (JavaFixing Volunteer)