Closed xsolo closed 2 months ago
Have you tried to disable the Client Info via RedisURI.setLibraryName(null)
/RedisURI.setLibraryVersion(…)
?
The issue with Redis derivatives is that they pretend a specific version that we use to control whether certain functionality is available while the derivative server software doesn't implement the Redis OSS functionality we're looking for.
Hi Team,
We are currently facing the same compatibility issue with Lettuce 6.3.2.RELEASE when connecting to Google Cloud Redis (Memory Store) v7.2, an issue that does not occur with the earlier v7.0. We are using Lettuce as a transitive dependency through org.springframework.boot:spring-boot-starter-data-redis:3.2.5.
Could you please provide any advice on potential solutions or workarounds for this issue? Additionally, any information on upcoming fixes or patches would be highly appreciated as it would help us plan our development and maintenance activities better.
Hi Team,
We are currently facing the same compatibility issue with Lettuce 6.3.2.RELEASE when connecting to Google Cloud Redis (Memory Store) v7.2, an issue that does not occur with the earlier v7.0. We are using Lettuce as a transitive dependency through org.springframework.boot:spring-boot-starter-data-redis:3.2.5.
Could you please provide any advice on potential solutions or workarounds for this issue? Additionally, any information on upcoming fixes or patches would be highly appreciated as it would help us plan our development and maintenance activities better.
I think this is what the reference ticket is about https://github.com/redis/lettuce/pull/2823
Folks,
My bad. You can unblock yourself for now if you manually disable the reporting of the client name and version:
RedisURI redisUri = RedisURI.Builder.redis("my.redis.instance.com", 6379)
.withLibraryName("")
.withLibraryVersion("")
.build();
RedisClient redisClient = RedisClient.create(redisUri);
This should unblock you until 7.x is released and you are able to consume the solution in #2823
Bug Report
Current Behavior
The connection does not work and fails to connect to Google Cloud Redis (Memory Store) v7.2 with the following error CLIENT 'SETINFO'. The Client Setinfo not supported by GCP Redis
Stack trace
```java Exception in thread "main" io.lettuce.core.RedisConnectionException: Unable to connect to IP_ADDRESS/Input Code
Input Code
```java // your code here; ```Expected behavior/code
Environment
Possible Solution
Additional context