i recently upgrade to spring boot 3.4.1 and found lettuce can't connect to redis, i searched the web found my redis server is only support resp2 protocol(redis server version is 3.0)

when i set the protocol to resp2, it connect success SpringBoot can't connect to redis

the redis auto configurator has no property about thr protocol SpringBoot can't connect to redis SpringBoot can't connect to redis and did not set the protocol at all SpringBoot can't connect to redis

when i use spring data redis with auto configuration, it report the error SpringBoot can't connect to redis

Comment From: wilkinsona

Duplicates https://github.com/spring-projects/spring-boot/issues/43609. Please try Spring Boot 3.4.2-SNAPSHOT that's available from https://repo.spring.io/snapshot. If that doesn't help, please provide a minimal sample that reproduces the problem with 3.4.2-SNAPSHOT and we can re-open this issue and investigate.