若依-plus-vue启动显示Redis连接错误

用的Redis是windows版本,6.2.6

报错的主要信息如下:

Failed to instantiate org.redisson.api.RedissonClient: Factory method 'redisson' threw exception; nested exception is org.redisson.client.RedisConnectionException: Unable to connect to Redis server: 127.0.0.1/127.0.0.1:6379

org.redisson.client.RedisException: ERR AUTH <password> called without any password configured for the default user. Are you sure your configuration is correct?. channel: id: 0x78c78239, L:/127.0.0.1:53460 - R:127.0.0.1/127.0.0.1:6379 command: (AUTH), params: (password masked)

开始排查使用Redis-cli进行测试:发现Redis启动正常:

自己用了一些其他的demo进行测试也是可以连接Redis的,使用Redis连接管理工具也是可以连接的,但是这个 若依-plus-vue 启动的时候就是报上面的错误。

解决方案:

把yaml文件中连接Redis 的配置的密码字段改为 auth,然后发现就可以了。

目前我也没搞明白,什么时候用password,什么时候用auth,我另一个demo项目,用的也是redis-windows-6.2.6, 但是使用password字段就可以连接。。。感觉与redis-starter的版本有关。

相关推荐
泡泡鱼(敲代码中)31 分钟前
MySQL基础学习笔记:从数据模型到DDL全掌握
开发语言·数据库·笔记·学习·mysql
SL_staff35 分钟前
3天上线OKR系统:一名HR与1名工程师如何用JVS完成全栈交付
java·低代码·开源
l1t1 小时前
DeepSeek总结的chdb-core v26.7.3发版说明
数据库·clickhouse·oracle
wzdark2 小时前
基于链表的内存池设计与内存复用机制4
java·数据结构·链表
冰暮流星2 小时前
mysql之表子查询
数据库·mysql
cnkeysky2 小时前
idea 中的 maven 项目重新加载子模块
java·idea
Escalating_xu2 小时前
【System V 信号量】从 P/V 原语到 Builder 封装:写出可控、可清理的进程互斥组件
java·linux·开发语言·jvm
Full Stack Developme2 小时前
CRM相关库表设计
数据库
今天AI了吗2 小时前
什么是 AI Agent?它与直接调用大模型 API 有何区别
java·网络·人工智能·架构·java-ee
步行cgn2 小时前
Spring 注入 Map 集合详解
数据库·python·spring