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

Error Error: ERR unknown command 'config' #743

Closed
b96705008 opened this issue Apr 24, 2015 · 7 comments
Closed

Error Error: ERR unknown command 'config' #743

b96705008 opened this issue Apr 24, 2015 · 7 comments
Labels

Comments

@b96705008
Copy link

When I create a node redis client using elasticache with redis (aws), it trigger this problem.
Is there already any solution to this issue?

@BridgeAR
Copy link
Contributor

BridgeAR commented Sep 4, 2015

The following should work without any issues:

client.CONFIG('GET', '*max-*-entries*', function(err, value) {
    console.log(err, value);
});

If you still experience difficulties, please reopen the issue including your code, as it's difficult to tell what's wrong without your code.

@yiurenma
Copy link

I use the redisClient on windows10, I face the same problem as the title showing. I just input the host , port and password for the config. And then the problems shows. There is no code related to it . Could you pls kindly suggest where the wrong is ?

@BridgeAR
Copy link
Contributor

The error is returned by Redis and it seems like your used Redis server does not expose the config command (e.g. it's renamed or not exposed at all). If it's the "info" command that fails, please use the noReadyCheck option.

@ilyashev
Copy link

ilyashev commented Oct 30, 2016

I'm seeing the same problem when trying to connect to Redis on Heroku. Is there any known workaround? Thanks.

@pikitgb
Copy link

pikitgb commented Aug 19, 2018

@ilyashev did you found a solution to this issue ? I'm facing the same problem with Kue in Heroku

@stockholmux
Copy link
Contributor

@ilyashev and @pikitgb Most cloud vendors don't support CONFIG or other admin commands.

@zanemcca
Copy link

For those on Elasticache I used this guide https://aws.amazon.com/premiumsupport/knowledge-center/elasticache-redis-keyspace-notifications/ and it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants