如题, 项目中使用phpredis链接 redis,偶尔报如下错误:
PHP Fatal error: Uncaught exception 'RedisException' with message 'Failed to AUTH connection' in [no active file]:0
Stack trace:
#0 {main}
thrown in [no active file] on line 0```
check过项目的配置信息正确,此错误信息为偶尔出现项目中使用
redis处理session在
github的issues中发现有人遇到类似的问题,但也没有给出现的原因和怎么解决,传送门github
各位在项目中有遇到类似的问题的嘛, 还是直接使用 predis这个扩展呢?
纯粹吐槽,phpredis 这个扩展是越来越蛋疼了。。。。