当前位置:网站首页>xxl执行节点错误日志刷屏
xxl执行节点错误日志刷屏
2022-07-24 05:27:00 【cxcaln】
我使用阿里云服务器搭建了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.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581)
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:745)一开始是以为xxl引用netty版本冲突,因为redis里面也引用了netty,后来强制引用一致的netty版本,发现还是不能解决,最终找到了问题:我们使用的是阿里云搭建的服务,也是用阿里云的slb开通服务访问,负载均衡默认会开启安全检查,就是不断的去ping你的接口,这样调一次报一次错,所以只需要把你的负载均衡安全检查关闭就好了

如下图,把执行节点监听的端口的健康检查关闭掉就解决了
边栏推荐
猜你喜欢
随机推荐
Write blog at leisure ~ briefly talk about let, VaR and Const
Log collection and analysis platform
Unable to boot after permanent mounting
在IDEA里斗个地主不过分吧!
ES10 subtotal flat and flatmap
深入了解MySQL 两把锁啥时候用(表锁,行锁)
Introduction to kubernetes (kubernetes benefits)
PXE技术网络装机
NFS共享服务及实验
Common commands and package management of go language
Customize MVC 3.0
Special effects - starry cosmic background effects
SSH Remote Access and control
DNS域名解析服务
Special effects - click the mouse and the randomly set text will appear
MySQL forgot to exit and close the window directly. How to delete the entire folder now
目录和文件管理
I have seven schemes to realize web real-time message push, seven!
随机森林、LGBM基于贝叶斯优化调参
Windows下bat脚本备份MySQL数据库









