skip to Main Content

Unable to connect to Redis in GCP which is SSL Enabled

I am using Spring-boot-starter-redis dependency to connect to redis (below is my snippet from gradle dependency dependencies { implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-actuator' implementation 'org.springframework.boot:spring-boot-starter-data-redis' compileOnly 'org.projectlombok:lombok:1.18.20' annotationProcessor 'org.projectlombok:lombok:1.18.20' } I am moving to GCP now and the redis in GCP…

VIEW QUESTION

Cannot connect to redis using spring and lettuce

I am struggling to find what could be wring here; need help. I am using spring-data-redis 2.4.1 RedisStandaloneConfiguration redisStandaloneConfiguration = new RedisStandaloneConfiguration() redisStandaloneConfiguration.setHostname(hostname) redisStandaloneConfiguration.setPort(6379) redisStandaloneConfiguration.setPassword("password") I then create lettuceClientConfigurationBuilder and specify clientName I then use lettuceClientConfiguration and redisStandaloneConfiguration to create…

VIEW QUESTION

NOAUTH Authentication required spring-boot-data-redis+Realease Lettuce+Redis sentinel

when I restart redis cause java.util.concurrent.ExecutionException: io.lettuce.core.RedisCommandExecutionException: NOAUTH Authentication required. Why is this a problem use version like this @Configuration public class RedisConfig { @Autowired private RedisProperties redisProperties; @Bean(destroyMethod = "close") public StatefulRedisConnection<String, Object> StatefulRedisConnection() { RedisURI redisUri = RedisURI.builder().withPassword(redisProperties.getPassword())…

VIEW QUESTION
Back To Top
Search