Navigation Menu

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

when i issue CLIENT LIST , i get "This Redis command is not allowed from scripts" #3105

Closed
justlooks opened this issue Feb 24, 2016 · 2 comments

Comments

@justlooks
Copy link

why ?

redis-cli -a pass -n 20 eval "return redis.call('CLIENT','LIST')" 0

(error) ERR Error running script (call to f_7ef377844bde0643f7083e0212ea72b6a9879367): @user_script:1: @user_script: 1: This Redis command is not allowed from scripts

@charsyam
Copy link
Contributor

@justlooks
redis forbidden to execute client command on script.
see server.c

{"client",clientCommand,-2,"rs",0,NULL,0,0,0,0,0},

@itamarhaber
Copy link
Member

It used to be possible, but then it was blocked in
6b099c7

On Wed, Feb 24, 2016 at 10:23 AM, charsyam notifications@github.com wrote:

@justlooks https://github.com/justlooks
redis forbidden to execute client command on script.
see server.c

{"client",clientCommand,-2,"rs",0,NULL,0,0,0,0,0},


Reply to this email directly or view it on GitHub
#3105 (comment).

Itamar Haber | Chief Developer Advocate
Redis Watch Newsletter http://redislabs.com/redis-watch-archive | Curator
and Janitor
_Redis http://www.redislabs.com/_Labs http://www.redislabs.com/ | ~ of
Redis

Mobile: +1 (415) 688 2443
Office: +1 (650) 461 4652
Mobile (IL): +972 (54) 567 9692
Office (IL): +972 (3) 720 8515 Ext. 123
Email: itamar@redislabs.com
Twitter: @itamarhaber https://twitter.com/itamarhaber
Skype: itamar.haber

Blog http://redislabs.com/blog/ | Twitter
https://twitter.com/redislabs | LinkedIn
https://www.linkedin.com/company/redis-labs-inc

https://www.redislabs.com/company/redis-labs-careers

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

3 participants