We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
use Phalcon\Cache\Backend\Redis as BackRedis; $cache = new BackRedis( $frontCache, [ 'host' => $config->redis->host, 'port' => $config->redis->port, 'auth' => $config->redis->auth, 'persistent' => $config->redis->persistent, 'index' => $config->redis->index, 'prefix' => ':cache:', 'statsKey' => '_PHCM', ] );
When I use cache service by redis and my redis auth is null. Failed to authenticate with the Redisd server
if fetch auth, options["auth"] { let success = redis->auth(auth); if !success { throw new Exception("Failed to authenticate with the Redisd server"); } }
I think, if auth is null ,not �execute redis->auth(auth);
The text was updated successfully, but these errors were encountered:
if auth is null ignore them
dafcd27
If you send options array with auth key and value is a null ignore them. fixing phalcon#12736
Fixed in the 3.2.x branch. Feel free to open new issue if the problem appears again. Thank you for contributing.
3.2.x branch
Sorry, something went wrong.
sergeyklay
No branches or pull requests
Details
When I use cache service by redis and my redis auth is null.
Failed to authenticate with the Redisd server
phalcon/cache/backend/redis.zep
I think, if auth is null ,not �execute redis->auth(auth);
The text was updated successfully, but these errors were encountered: