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

Redli support to connect cluster #32

Open
Ovajinapalli opened this issue Sep 3, 2020 · 1 comment
Open

Redli support to connect cluster #32

Ovajinapalli opened this issue Sep 3, 2020 · 1 comment

Comments

@Ovajinapalli
Copy link

Ovajinapalli commented Sep 3, 2020

I have redis cluster with 3 nodes.
while connecting to redis cluster using redli -u i get error when setting value or reading value due to cluster connect got moved to another node in the cluster.

How to inform redli that i am connecting in cluster mode rather than single node.
I am getting below error:

ct-xxxxxxxxxxxx.redis.cache.windows.net:6380> set name opiee
(error) MOVED 5798 20.51.232.39:15005

Opies-MBP-59.opsrihome:/Users/ovajinapalli $ redli --help
usage: redli [] [...]

Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
--debug Enable debug mode.
--long Enable long prompt with host/port
-u, --uri=URI URI to connect to
-h, --host="127.0.0.1" Host to connect to
-p, --port=6379 Port to connect to
-r, --redisuser="" Username to use when connecting. Supported since Redis 6.
-a, --auth=AUTH Password to use when connecting
-n, --ndb=0 Redis database to access
--tls Enable TLS/SSL
--skipverify Don't validate certificates
--certfile=CERTFILE Self-signed certificate file for validation
--certb64=CERTB64 Self-signed certificate string as base64 for validation
--raw Produce raw output
--eval=EVAL Evaluate a Lua script file, follow with keys a , and args
--version Show application version.

Args:
[] Redis commands and values

I dont see any cluster option like redis-cli -c

@jeffery-jen
Copy link

Is anyone looking at this issue?

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