Incompatible with LettuceClient 6.x - Unsupported operation 'hello'
See original GitHub issueHi,
We’re attempting to upgrade from v5.3.3.RELEASE of the lettuce redis client to v6.0.1.RELEASE.
When running unit tests with jedis-mock, we have the following exception:
11:03:02.189 [lettuce-nioEventLoop-40-1] DEBUG io.lettuce.core.AbstractRedisClient - Connecting to Redis at localhost:50385, initialization: localhost:50385
java.util.concurrent.CompletionException: io.lettuce.core.RedisCommandExecutionException: Unsupported operation 'hello'
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:292)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:308)
at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:943)
at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:926)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1977)
at io.lettuce.core.RedisHandshake.lambda$tryHandshakeResp3$1(RedisHandshake.java:105)
at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760)
at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1977)
at io.lettuce.core.protocol.AsyncCommand.doCompleteExceptionally(AsyncCommand.java:139)
at io.lettuce.core.protocol.AsyncCommand.completeResult(AsyncCommand.java:120)
at io.lettuce.core.protocol.AsyncCommand.complete(AsyncCommand.java:111)
at io.lettuce.core.protocol.CommandHandler.complete(CommandHandler.java:704)
at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:639)
at io.lettuce.core.protocol.CommandHandler.channelRead(CommandHandler.java:560)
Per readme, submitting an issue. Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:7
Top Results From Across the Web
Lettuce Reference Guide
What's new in Lettuce 6.0 ... Clients can operate concurrently to each other by either being separate ... Hello Ben Hello Michael Completed....
Read more >spring-projects/spring-data - Gitter
Hi, I am stuck with an issue with spring boot 2.2.0 and spring-data-mongo: I keep getting a ... doCommit(JpaTransactionManager.java:536) ~[spring-orm-5.1.6.
Read more >Spring Boot Reference Guide
Try the How-to documents. They provide solutions to the most common questions. Learn the Spring basics. Spring Boot builds on many other Spring...
Read more >Reference Documentation - The Inverno Framework
The following hello module is a simple Inverno module: ... It also exposes a Redis Client bean backed by a Lettuce client and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I implemented
hello
support in a way that it always returns RESP2 as a supported protocol. Thus it is now possible to use Lettuce 6.x without any additional configuration. The fix will be included in 0.1.19 releaseThanks @inponomarev It get resolved, looks like it was not updating to latest version 0.1.20, had to delete manually from .m2 folder and clean it again. its fixed now.