Skip to content

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

Description

@Ccccccai777

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions