我使用阿里云服务器搭建了xxl的执行节点,但是一直在刷屏错误日志
2021-06-23 20:59:54.015 [ERROR] 1 --- [ntLoopGroup-3-7] j.c.s.EmbedServer$EmbedHttpServerHandler : >>>>>>>>>>> xxl-job provider netty_http server caught exception
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1134)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719)
at io.n

博主在阿里云服务器上部署xxl-job执行节点时遇到连接重置错误,排查后发现是由于阿里云SLB健康检查导致。关闭监听端口的健康检查后,问题得到解决。
最低0.47元/天 解锁文章
1289

被折叠的 条评论
为什么被折叠?



