若依-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的版本有关。

相关推荐
末代iOS程序员华仔6 分钟前
Cursor 编辑器 + Figma‑MCP 服务器(真正让 Codex 直接读取 Figma 链接,高级方案)
服务器·编辑器·figma
stereohomology7 分钟前
AI解读:某IM软件本地数据库密钥提取与解密
数据库·攻防·加密解密·数字平权
Java后端的Ai之路9 分钟前
01、Python - 设计模式介绍
java·人工智能·python·设计模式·通用
zzzll111110 分钟前
大模型技术原理与应用实践
java·数据库·人工智能
倔强的石头_11 分钟前
数据库迁移工具从单机作业走向云端协同
数据库
猫吃了源码12 分钟前
Linux系统制作 Ubuntu Server 24.04 启动U盘详细教程
linux·服务器·ubuntu
hehelm13 分钟前
仿muduo库实现高并发服务器—EventLoop
linux·服务器·网络·c++
yours_Gabriel14 分钟前
【一】数据库基础:SQL语句、函数、约束、多表查询、事务
数据库·sql·oracle
asdfg125896314 分钟前
java.util包中的ArrayList&&Collections的目的和用途
java·arraylist·collections
余额瞒着我当琳15 分钟前
C++STL--list底层实现,迭代器分类,模拟list的迭代器封装、实现
java·开发语言·c++