skip to Main Content

redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketException: Broken pipe (Write failed)

While trying to use Jedis.get(key) while accessing the Redis using Jedis I'm getting this error. redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketException: Broken pipe (Write failed) The code to access the Redis looks like below: private static JedisPoolConfig buildPoolConfig() { final JedisPoolConfig poolConfig = new…

VIEW QUESTION

Spring Boot Caching with Redis Sentinel always connects to master node

I have a Spring Boot (2.3.1.RELEASE) app that has caching with Redis Sentinel. This is my configuration for the Sentinel connection: @Bean public LettuceConnectionFactory redisConnectionFactory() { RedisSentinelConfiguration sentinelConfig = new RedisSentinelConfiguration() .master(redisProperties.getSentinel().getMaster()); redisProperties.getSentinel().getNodes().forEach(s -> sentinelConfig.sentinel(s, redisProperties.getPort())); sentinelConfig.setPassword(RedisPassword.of(redisProperties.getPassword())); return new LettuceConnectionFactory(sentinelConfig);…

VIEW QUESTION

Redis – The parameter CacheSubnetGroupName must be provided and must not be blank

I use the module, https://github.com/cloudposse/terraform-aws-elasticache-redis to provision elasticache redis. Below are the errors when I run terraform apply. I have no clue of these errors. Terraform version: v0.13.5 module.redis.aws_elasticache_parameter_group.default[0]: Creating... module.redis.aws_elasticache_subnet_group.default[0]: Creating... Error: Error creating CacheSubnetGroup: InvalidParameterValue: The parameter CacheSubnetGroupName…

VIEW QUESTION
Back To Top
Search