-
Notifications
You must be signed in to change notification settings - Fork 41.1k
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
Upgrade to Lettuce 6.4.2.RELEASE #43609
Comments
It is impossible for us to know what could go wrong based on your description. If you want support, you'll have to provide more details. Please create a small sample from start.spring.io where you connect to redis successfully prior to Spring Boot 3.4 that then fail when you upgrade to 3.4. |
@Mashazhou Upgrade to Lettuce 6.5.1. |
springboot 3.4.1 , redis_version 5.0.14 and redis password seted spring:
data:
redis:
database: 1
host: 127.0.0.1
port: 6379
timeout: 5000
lettuce:
pool:
max-active: 8
max-wait: -1
max-idle: 8
min-idle: 0
password: foobared package com.example.demo;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.RedisTemplate;
@SpringBootTest
class Demo1ApplicationTests {
@Autowired
private RedisTemplate redisTemplate;
@Test
void contextLoads() {
final Object a = redisTemplate.opsForValue().get("A");
System.out.println(a);
}
} when use database: 0, success |
@f981545521 thank you for trying to help but code in text does not form a sample. If you want us to consider it, please share an actual sample we can run. You can attach a zip file here or push the code to a GitHub repository. |
I also encountered this issue, but as suggested by @clinker, manually upgrading to version 6.5.1 can resolve it. The 6.4.1 version currently used by 3.4.1 may have some problems. |
With nobody able to give a sample, I've reported that to the Lettuce team. Please subscribe to redis/lettuce#3104 as they may have more questions about your setup I don't have (I've tried to reproduce the problem and didn't manage to). |
We got some feedback from the Lettuce team. They're going to backport a fix and release 6.4.2 so I've re-scoped this issue in that direction. |
For those affected, please give Spring Boot |
We had also the same issue, and upgrading lettuce to |
I updated springboot from 3.2.8 to 3.4.1, my redis-server run with password and I can startup springboot-3.2.8 successfully. but failed in 3.4.1. I changed nothing, only updated springboot from 3.2.8 to 3.4.1
The text was updated successfully, but these errors were encountered: