how to solve the problem : io.lettuce.core.RedisCommandTimeoutException:...
What aspects can I start from to solve this problemModify some things to solve this problemUnable to connect to [:6379]: Connection initialization timed out. Command timed out after 5...
View ArticleRedis closing connection after request
So i'm using java with spring data redis 2.4.8 for caching, when i'm trying to get values from cache (i have a list of keys), in logs i see that redis always closing connection:2024-04-02 09:16:14.851...
View ArticleFacing SocketException: Broken pipe (Write failed) when querying using MGET...
I have a use case to identify expired tokens stored in cache, so I implemented a method in the following way - private Boolean isTokenExpired(long programId,String token,Jwt jwt){ try {...
View ArticleSpring Boot Redisson not able to read clusterServersConfig
Here is the application.yml I am using for my Spring WebFlux projectredis: redisson: config: | clusterServersConfig: idleConnectionTimeout: 10000 connectTimeout: ${REDISSON_CONNECT_TIMEOUT:20000}...
View ArticleLettuce Scan hasNext() always throws Interrupted Error
Tried spring data redis with Lettuce or Jedis connection facotries. Both have similar errors while performing scan on a redis cluster.My code try (RedisClusterConnection redisConnection =...
View ArticleUnable to get value from redis using webflux
Currently I am storing some value in redis.When I try to get the value I am getting MonoNext.This is the coderedisOps.opsForValue().set(sId +"_" + cId +"_" + suffix, true);Mono<String> data =...
View ArticleHow to subscribe redis key space event with spring
My EnvironmentMac Ventura 13.6.3Temurin 17SpringBoot 3.2.1org.springframework.boot:spring-boot-starter-data-redisredis cluster running on local machine. (localhost: 7001, localhost: 7002, localhost:...
View ArticleERR This instance has cluster support disabled
I am trying to connect to cluster Redis with a valid URL and port I got this error:Caused by: io.lettuce.core.RedisCommandExecutionException: ERR This instance has cluster support disabled at...
View ArticleInconsistent Session Retrieval in Legacy Spring MVC App: Redis vs. Tomcat...
I'm encountering an inconsistency in session retrieval within my legacy Spring MVC 5 application deployed on Tomcat 9. Specifically, I'm observing different behaviors when retrieving sessions using...
View ArticleFailed to deserialize payload. Is the byte array a result of corresponding...
My spring boot project uses spring-boot-starter-data-redis for caching on redis, Oracle database for persistent. It runs perfectly with current version 2.7.6. I've just upgraded to 3.0.5. The source...
View ArticleNested RMap using Redisson and Java
I am currently working on a project and using Java and Redisson. I am leveraging a local cached map to improve read latencies. However, I would like to restructure it so that the value is a map itself....
View ArticleredisTemplate.opsForList().rightPush is slow
I have a java interface,code is1. check_param..2. check_quota: the step will operate redis3. construct data..4. push data to queue:...
View ArticleSpring boot Redis and Kafka Serialization Error
We use spring cloud stream to produce the event to kafka and it was all working fine until we started to introduce redis cache.I think for some reason the combination of Redis and Kafka on the...
View ArticleUnable to set up a simple Redis + Spring project: "Java 8 date/time type...
and many thanks for your help in advance! I am trying to set up a simple Spring + Redis project, using IntelliJ, and sadly it just doesn't work.I have checked countless forum posts here, but sadly to...
View ArticleSpring boot native image can not serialize protobuf object
I have a method @Cacheable(value = USER_IDENTITIES_PROTO_CACHE) public UserIdentitiesResponseOuterClass.UserIdentitiesResponse findUserIdentitiesProto(UUID userId) {where...
View ArticleWhy did the redis distributed lock fail?
We have a system that deploys 16 pod and uses @ Scheduled stand-alone tasks plus redis locks to avoid concurrent execution, but now we find that the redis lock has failed and several pod have got the...
View ArticleSharing data between multiple microservices in springboot
So i have multiple microservices which are dependent on data from few other microservices which are deployed within same kubernetes cluster. Each service has its own database, so currently we need to...
View ArticleQuarkus Redis Client is creating huge amount of connections
In my quarkus redis client, I am creating way more connections than my connection pool should allow. I am not sure why this is happening. My connection pool has maxPoolSize = 6 maxPoolWaiting = 24 but...
View ArticleRedisConnectionException: Unable to init enough connections amount
Today I start the spring boot project in MacBook Pro with M1 pro(with 8 performance core and 2 efficient core), shows error:Caused by: org.springframework.beans.factory.BeanCreationException: Error...
View ArticleFailed to add object to RedissonSet
I am using redis 6.0.5 and redisson client 3.14.9My service on prod fails to add object to RedissonSet.my code looks like this:redissonClient.getSet(setName).add(newValue)The add API returns false...
View Article