question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does RedisCluster support password?

See original GitHub issue

I am using RedisCluster. It works fine when redis is not password protected. But when we make cluster protected and I add password in application.conf as mentioned in document. It doesn’t seem to work.

scredis {
  redis {
    # Redis server address
    host = "hostname"
    # Redis server port
    #port = "7387"
    password = "redispassword"
    # List of hosts or host:port tuples, which serve as seed nodes for a Redis cluster connection.
    # If port is missing, the configured port is used as default.
    #cluster-nodes = [${scredis.redis.host}":"${scredis.redis.port}]
    cluster-nodes = ["hostname1:7385","hostname2:7386","hostname3:7387"]
    #cluster-nodes = ${?REDIS_CLUSTER_NODES}
  }
}

Then I use below code to initialized redis client -

RedisCluster redisClient = RedisCluster(providedActorSystem = providedActorSystem)

I get an exception that password is required

The future returned an exception of type: scredis.exceptions.RedisErrorResponseException, with message: NOAUTH Authentication required..

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
maciejbak85commented, Nov 29, 2018

@kpbochenek as PR is openned can you after merge push to maven ? even some snapshot etc version, thanks!

1reaction
kpbochenekcommented, Nov 28, 2018

I guess there will be no PR from indusbull, will try my best to work on that tomorrow

Read more comments on GitHub >

github_iconTop Results From Across the Web

Redis security
The Redis password is stored in the redis.conf file and inside the client configuration. Since the system administrator does not need to remember...
Read more >
Redis Cluster and auth (password) - Google Groups
Right now, there is no way to set up a Redis Cluster with passwords. Actually, Redis Cluster should probably disable the password feature....
Read more >
How can I set password for Redis cluster? - Stack Overflow
To do it on a running instance, use redis-cli and type: config set masterauth <password>. To set it permanently, add this to your...
Read more >
Redis Cluster Authentication - VMware Docs
Redis Authentication is enabled for Eventstore mainly to make it secure and to reduce the vulnerability. The topic consists of:
Read more >
Manage passwords | Redis Documentation Center
For user access to the Redis Enterprise Software admin console, you can set a password expiration policy to prompt the user to change...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found