alibaba / alibaba/jetcache

您好作者,现在连接时总是提示没有设置密码请问是什么原因呢?

Open
#702 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.6k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

remote: # 指定远程缓存
default:
type: redis.lettuce
keyConvertor: fastjson # key转换器的全局配置,当前只有一个已经实现的keyConvertor:fastjson。仅当使用@CreateCache且缓存类型为LOCAL时可以指定为none,此时通过equals方法来识别key。方法缓存必须指定keyConvertor
valueEncoder: java #序列化器的全局配置。仅remote类型的缓存需要指定,可选java和kryo,默认java
valueDecoder: java #序列化器的全局配置。仅remote类型的缓存需要指定,可选java和kryo,默认java
expireAfterWriteInMillis: 600000 #写入缓存十分钟后自动失效#以毫秒为单位指定超时时间的全局配置
limit: 10000
uri: redis-sentinel://${spring.redis.password}@xxx:26380,xxx:26379,xxx:26381/?sentinelMasterId=${spring.redis.sentinel.master}

springboot 集成哨兵 模式 启动提示如下 :
Caused by: io.lettuce.core.RedisCommandExecutionException: NOAUTH HELLO must be called with the client already authenticated, otherwise the HELLO AUTH option can be used to authenticate the client and select the RESP protocol version at the same time
我是 redis 7版本 跟新版本有关系吗?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the redis-sentinel URI in the remote-cache configuration and the Lettuce NOAUTH HELLO exception, then compare behavior with Redis 7 and the Spring Boot Sentinel setup. Done should be a confirmed cause and a documented or tested resolution for this authentication failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, redis, spring
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.