xxl-job provider netty_http server caught exception

xxl-job放到docker容器中,相应的执行器也放到了容器中,但是监控执行器的日志,频繁的抛出xxl-job provider netty_http server caught exception异常,不解。
如下的错误信息:

11:08:05.383 [nioEventLoopGroup-5-3] ERROR c.x.j.c.s.EmbedServer$EmbedHttpServerHandler - [exceptionCaught,238] - >>>>>>>>>>> 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:379)
	at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
	at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
	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:714)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.lang.Thread.run(Thread.java:822)

xxljob的github上的issue有相关的问题回答,但是还是不解,并未说明是版本的关系还是端口未开放的关系。
我的docker容器相关端口都是开放的,不清楚为啥下面的回答还能跟云服务器的网络层监控有关。
反正稀里糊涂,当前是能调用成功,但是不清楚为啥会频繁报错,从上述错误链中可知,并不是由业务层调用引发的问题(因为没有业务层的包文件)。
也不敢升级,毕竟升级还要兼容测试什么的,当前只能“得过且过”。
https://github.com/xuxueli/xxl-job/issues/1088
https://github.com/xuxueli/xxl-job/issues/2507
https://github.com/xuxueli/xxl-job/issues/1840
https://github.com/xuxueli/xxl-job/issues/3037

最终结果就是: 不解

posted @ 2025-11-03 11:19  星小梦  阅读(73)  评论(0)    收藏  举报