-
Notifications
You must be signed in to change notification settings - Fork 698
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
4.05版本使用sync_reader模式连接阿里云Redis集群版直连地址报错 #809
Comments
麻烦提供 RedisShake 的配置文件,以及你本地 redis-cli 能验证成功的证明看一下。 |
连阿里云集群版的代理地址没有PSYN协议,连直连地址报错 |
|
阿里云redis集群版不支持复制权限账号 |
@icexk 直连集群可以工单打开,代理集群无法支持。 |
你使用 redis-cli 应该也不可以 auth 通过,是你使用了错误的验证方式。 麻烦提供你本地 redis-cli 能验证成功的证明看一下,包含 auth 命令。 |
包含 auth 命令 |
shake 的配置文件中,你应该 username 留空,只配置 password |
阿里云->本地 在阿里云redis上建立复制账号,比如叫做
在shake的配置中, 你需要将用户名设置为空, 密码设置为 |
问题描述(Issue Description)
4.05版本使用sync_reader模式连接阿里云Redis集群版直连地址报错
Please provide a brief description of the issue you encountered.
环境信息(Environment)
日志信息(Logs)
2024-05-23 17:48:29 INF load config from file: shake.toml
2024-05-23 17:48:29 INF log_level: [info], log_file: [/opt/redis-shake/data/shake.log]
2024-05-23 17:48:29 INF changed work dir. dir=[/opt/redis-shake/data]
2024-05-23 17:48:29 INF GOMAXPROCS defaults to the value of runtime.NumCPU [1]
2024-05-23 17:48:29 INF not set pprof port
2024-05-23 17:48:29 ERR ERR wrong number of arguments for 'auth' command
RedisShake/internal/client/redis.go:79 -> (*Redis).DoWithStringReply()
RedisShake/internal/client/redis.go:56 -> NewRedisClient()
RedisShake/internal/utils/cluster_nodes.go:14 -> GetRedisClusterNodes()
RedisShake/internal/reader/sync_cluster_reader.go:19 -> NewSyncClusterReader()
RedisShake/cmd/redis-shake/main.go:46 -> main()
runtime/proc.go:250 -> main()
runtime/asm_amd64.s:1598 -> goexit()
其他信息(Additional Information)
账号密码链接地址和端口没问题
麻烦看看呢
The text was updated successfully, but these errors were encountered: