当前位置:   article > 正文

JedisDataException: ERR Client sent AUTH, but no password is set

jedisdataexception: err client sent auth, but no password is set

使用Redis 时候报错了,提示信息为:

  1. threw exception [Request processing failed; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool] with root cause
  2. redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set



怎么破?

问题已经很明确的了:

    jedisDataException: ERR Client sent AUTH, but no password is set

    意思就是redis服务器没有设置密码,但客户端向其发送了AUTH请求

  所以我在配置文件里面去掉了密码结果还是不行。

  1. #redis组配置信息
  2. redis.name=redis
  3. redis.ip=192.168.0.1
  4. redis.poolConf.maxActive=50
  5. redis.poolConf.maxIdle=10
  6. redis.poolConf.maxWait=5000
  7. redis.poolConf.minIdle=1
  8. redis.password=

之后把整个配置(redis.password=)都去掉了。重启项目然后就成功了。


声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/554930
推荐阅读
相关标签
  

闽ICP备14008679号