-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
NOAUTH Authentication required #491
Comments
Yap it's not selecting required 10 database. It's selecting default 0 database. |
redis_auth should have password in there or just a boolean? redis_auth: true or redis_auth: password. |
Just tried to compile from master, by cloning. Same results. preconnect: true with password and redis_db: 10 for example.
Worth look into that problem i think. |
@Somebi Your client should send auth command to twemproxy. |
Yes, but it doesn't allow to select database from client. But to select it from twemproxy I need provide auth password... How do i do that? O_o |
When a Redis instance is configured for authentication, you must send the auth command before it will let you do anything other than disconnect. If you have to use the select command, you can't use Twemproxy as it isn't a supported command. |
But in twemproxy there is configuration option for that...
What this option for then?
Should be removed from documentation then... If you can't use these options together |
Guess i'll have to use ssh tunnel to redis server to use twemproxy without password... |
Using Ubuntu 16.04.1 LTS, nutcracker version 0.4.1
nc_redis.c:2936 SELECT 10 failed on redis-pool | my_ip_here:6379: NOAUTH Authentication required.
nutcracker -d -c /var/local/nutcracker.yml -a 0.0.0.0 -s 20100 -v 11 -o /var/log/nutcracker.log
With preconnect: true throwing right away.
Select command is not supported, so i fearing that it's not selecting 10 redis_db and using 0 db as default one.
Could you please look into it?
The text was updated successfully, but these errors were encountered: