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

相关推荐
考虑考虑2 分钟前
解决java: java.lang.ExceptionInInitializerError com.sun.tools.javac.code.TypeTag :
java·spring boot·后端
Rebecca.Yan6 分钟前
Maven下载与配置&&对Java项目的理解
java·开发语言·maven
UestcXiye7 分钟前
Rust Web 全栈开发(六):在 Web 项目中使用 MySQL 数据库
数据库·rust
coder_lorraine12 分钟前
OpenResty 安装指南
服务器·前端
ZZZKKKRTSAE13 分钟前
玩转rhel9 Apache
linux·运维·服务器·apache·web
虾条_花吹雪19 分钟前
Spring for Apache Pulsar->Reactive Support->Message Consumption
java·ai·spring pulsar
写不出来就跑路27 分钟前
openGauss数据库管理实战指南——基本常用操作总结
数据库·sql·gaussdb
Z_zz_Z___34 分钟前
DNS协议解析过程
linux·服务器·网络
wu279038 分钟前
MYSQL笔记2
数据库·笔记·mysql
慕木兮人可40 分钟前
idea安装maven 拉取依赖失败的解决办法
java·maven·intellij-idea