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

[bug] cluster 模式下 subcribe 失败 #718

Closed
yangxin9003 opened this issue Oct 9, 2018 · 1 comment
Closed

[bug] cluster 模式下 subcribe 失败 #718

yangxin9003 opened this issue Oct 9, 2018 · 1 comment

Comments

@yangxin9003
Copy link

yangxin9003 commented Oct 9, 2018

版本 v4.0.1 下 使用 cluster, get set 均正常使用,当执行 subcribe 时出现错误 NOAUTH Authentication required

同样的配置在 v3.2.2 下正常。
代码如下:

    const cluster = new Redis.Cluster(['...nodes config...'])
    
    cluster.subscribe('test', function (err, count) {
       console.log('订阅', err, count)
    })
@luin luin closed this as completed in 47e2ab5 Oct 9, 2018
@luin
Copy link
Collaborator

luin commented Oct 9, 2018

Fixed in v4.0.2. 感谢指出问题!

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