启动springboot报错:

NOAUTH HELLO must be called with the client already authenticated, otherwise the HELLO AUTH <user> <pass> option can be used to authenticate the client and select the RESP protocol version at the same time

原因:

未配置redis或redis sentinel密码

解决:

我的redis是:redis主备+redis sentinel,redis密码都是123456,sentinel密码也是123456

配置文件需要配置redis和redis sentinel的密码,如下:

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐