-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection handshake fails with ERR unknown command CLIENT, with args beginning with: SETINFO lib-name
#2817
Comments
Have you tried to disable the Client Info via 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. |
ERR unknown command CLIENT, with args beginning with: SETINFO lib-name
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 #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 6.4.0 is released and you are able to consume the solution in #2823 |
Do you have a hint how to apply the workaround if using Spring Data? |
I assume you are not able to bump the version of the Lettuce driver to 6.4.0.RELEASE? Have you tried the solution from spring-projects/spring-data-redis#2938 (comment) ? |
First, thanks for the hints.
I could, but is that compatible with Spring Boot 3.3? I didn't dare to just update it.
No, I already looked into that, but that is too much copy and paste for me. Instead of doing this, I prefer to wait for Spring Boot 3.4 before upgrading our Redis to 7. |
My bad, I thought I saw a release of spring-data-redis consuming Lettuce 6.4.x
This is reasonable if you have the luxury to wait for the fix. |
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
Input Code
Input Code
// your code here;
Expected behavior/code
Environment
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: