Skip to content

大佬,请教个问题:服务端和客户端不在同一个网段时,任务执行超过15分钟后,连接会被防火墙掐断。 #42

@Bigbigtrees

Description

@Bigbigtrees

2019-11-28 11:52:20 [ERROR]-[com.jobxhub.rpc.RpcFuture] [JobX]callback done invoke error .host:10.205.196.52:1577,action:KILL:,caught:{}
java.lang.NullPointerException
at com.jobxhub.server.service.ExecuteService.printLog(ExecuteService.java:426)
at com.jobxhub.server.service.ExecuteService.access$700(ExecuteService.java:48)
at com.jobxhub.server.service.ExecuteService$KillCallback.done(ExecuteService.java:511)
at com.jobxhub.rpc.RpcFuture.invokeCallback(RpcFuture.java:172)
at com.jobxhub.rpc.RpcFuture.doReceived(RpcFuture.java:132)
at com.jobxhub.rpc.RpcFuture.received(RpcFuture.java:110)
at com.jobxhub.rpc.netty.NettyClientHandler.channelRead0(NettyClientHandler.java:88)
at com.jobxhub.rpc.netty.NettyClientHandler.channelRead0(NettyClientHandler.java:36)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:134)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)
at java.lang.Thread.run(Thread.java:748)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions