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

ReplyError: ERR unknown command 'config' #121

Open
sheksushant opened this issue Jul 12, 2018 · 1 comment
Open

ReplyError: ERR unknown command 'config' #121

sheksushant opened this issue Jul 12, 2018 · 1 comment

Comments

@sheksushant
Copy link

unable to setup redis on heroku server which has auth and password

# try 1
var options = {
prefix: 'w',
skipConfig: false,
redis : keys.redis_url,
restore: true
};

# try 2

var redisinfo = require('redis-url').parse(keys.redis_url);

var options = {
prefix: 'w',
skipConfig: false,
redis: {
host: redisinfo.hostname,
port: redisinfo.port,
password:redisinfo.password,
dropBufferSupport: true,
keepAlive: 10000,
enableOfflineQueue: false
},
redis : keys.redis_url,
restore: true
};

@callmephilip
Copy link

Make sure you are using RedisCloud addon instead of Heroku Redis as it does not seem to support notify-keyspace-events - https://help.heroku.com/5BP0E8RC/how-to-enable-notify-keyspace-events-on-redis

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