目录
1、Bug现场
最近打算把分布式服务接口幂等性设计相关知识总结一下;在参考了其他网络文章后打算升级SpringBoot2.x+JDK8升级到 SpringBoot3.x+JDK17(+);结果在启动程序时候调用相关接口通过Redis创建Token时候出现如下错误信息:
NOAUTH HELLO must be called with the client already authenticated,
otherwise the HELLO <proto> AUTH <user> <pass> option can be used to authenticate the client and select the RESP protocol version at the same time
io.lettuce.core.RedisCommandExecutionException:
NOAUTH HELLO must be called with the client already authenticated,
otherwise the HELLO <proto> AUTH <user> <pass> option
can be used to authenticate the client and select the RESP protocol version at the same time at io.lettuce.core.internal.ExceptionFactory.createExecutionException(ExceptionFactory.java:147) ~[lettuce-core-6.3.2.RELEASE.j