-
Notifications
You must be signed in to change notification settings - Fork 327
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
replication: sentinel
(currently on master branch) launches AUTH to sentinel instances
#339
Comments
@othillo, also a question here:
Seems this is not possible to use phpredis for cluster connection. Thank you very much. |
I don't have access to Sentinel, can anyone confirm this was fixed properly by #340? |
I'm not longer working on this, but it seems to be solved at #340 (comment) |
Thanks! |
This is a bug in the master brach since this merge 104df22#diff-fd809ec659d77076dce28d9ea225b8f6L139
There is no way in config to distinguish between sentinel instances and redis ones.
When trying to connect to password protected redis instances I tried adding password via DSN, as it's the only way supported by the bundle.
https://github.com/snc/SncRedisBundle/blob/master/DependencyInjection/SncRedisExtension.php#L263-L264
So every time there is a password argument bundle converts password to an AUTH command, that is not supported by sentinel instances at the time: redis/redis#3279
Also: error is misleading as response command is not nicely handled by predis (see pic) and get masked as array access error.
The text was updated successfully, but these errors were encountered: