连接redis报错:org.springframework.data.redis.connection.PoolException: Could not get a resource from the
springboot连接redis出错:org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to
使用的redis版本:7.0.4
springboot版本:2.2.0
spring-data-redis版本:2.2.0
报错信息为
org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to 192.xxx.xxx.xxx:6379
Caused by: io.lettuce.core.RedisConnectionException: Unable to connect 192.xxx.xxx.xxx:6379
Caused by: io.lettuce.core.RedisCommandExecutionException: ERR AUTH called without any password configured for the default user. Are you sure your configuration is correct?
是springboot的yaml配置错误
配置字段名不要用password,用auth
将配置由
改为
更多推荐
所有评论(0)