Title, using in projects
phpredisLink
redisAnd occasionally reported the following error:
PHP Fatal error: Uncaught exception 'RedisException' with message 'Failed to AUTH connection' in [no active file]:0Stack trace:#0 {main} thrown in [no active file] on line 0```
checkThe configuration information for the project is correct, and this error message appears occasionally
Working with processes in projects redissession
In github the issues found that someone has encountered a similar problem, but also did not give the reason for the emergence and how to solve the portal GitHub
Do you have a similar problem in your project, or do you use predis this extension directly?
Reply content:
Title, the use of links in the project phpredis redis , occasionally reported the following error:
PHP Fatal error: Uncaught exception 'RedisException' with message 'Failed to AUTH connection' in [no active file]:0Stack trace:#0 {main} thrown in [no active file] on line 0```
checkThe configuration information for the project is correct, and this error message appears occasionally
Working with processes in projects redissession
In github the issues found that someone has encountered a similar problem, but also did not give the reason for the emergence and how to solve the portal GitHub
Do you have a similar problem in your project, or do you use predis this extension directly?
Pure Spit groove, Phpredis This expansion is getting egg ache ....
See if the error is an authorization-related error, check whether Redis has a password, if it is a cluster deployment, whether the environment is inconsistent
$client = new Predis\Client(array( 'scheme' => 'tcp', 'host' => '127.0.0.1', 'port' => 6379, 'database' => 15, 'password' => '密码'));
The authentication of the prompt failed?