sringboot启动时提示连接被对方重置,具体如下:

RedisSystemException: Redis exception; nested exception is io.lett
uce.core.RedisException: io.netty.channel.unix.Errors$NativeIoException: syscall:read(..) failed: 连接被对方重设  at com.hy.apaas.org.spi.impl.DefaultSpiUserServic
e.getByAccount(DefaultSpiUserService.java:64)  at com.hy.apaas.cloud.oauth.server.context.InnerContextUtil.

网上查了下大概为redis的连接超时配置有问题,按如下修改: image.png image.png 参考链接 https://blog.csdn.net/wuxiaolongah/article/details/118418308