Skip to content
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

使用redis哨兵模式时 连接redis哨兵报错NOAUTH Authentication required #164

Open
Ccccccai777 opened this issue Feb 17, 2023 · 1 comment

Comments

@Ccccccai777
Copy link

在getJedis方法中初始化JedisSentinelPool调用的构造方法不会设置redis哨兵的密码导致NOAUTH Authentication required
jedisPool = new JedisSentinelPool(masterName, sentinels, getJedisPoolConfig(), timeout, soTimeout, password, database);

@hopefullyhh
Copy link

我也碰到了同样的问题,您那边是如何解决的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants