renren-admin 连接redis问题

提问 未结 1 336
Lonny
Lonny VIP3 2023-03-17
悬赏:20积分
版本:renren-security 开发环境:
企业版3.5部署成功后,后台登录时候提示redis异常,错误日志2023-03-17 15:35:04.318 ERROR 13314 --- [io-43012-exec-1] io.renren.common.aspect.RedisAspect : redis error org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis; nested exception is 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 localhost:6379 可是我在yml文件配置了redis的连接信息 redis: database: 10 host: 82.157.27.62 port:********** password: ********** timeout: 6000ms # 连接超时时长(毫秒) jedis: pool: max-active: -1 # 连接池最大连接数(使用负值表示没有限制) max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制) max-idle: 10 # 连接池中的最大空闲连接 min-idle: 5 # 连接池中的最小空闲连接 这是什么原因?
回帖
  • 还是连接localhost:6379,像是配置文件没生效,重新打包试试
    0 回复