gpt4 book ai didi

Jenkins 问题: hudson. remoting.ChannelClosedException: channel 已关闭

转载 作者:行者123 更新时间:2023-12-04 08:35:25 24 4
gpt4 key购买 nike

我们看到的hudson.remoting.ChannelClosedException: channel is already closed是由java.net.SocketException: Connection reset引起的。
关于如何解决它的任何建议?

完整的异常堆栈跟踪:

[21-11-2013 14:29:54] FATAL: channel is already closed 
[21-11-2013 14:29:54] hudson.remoting.ChannelClosedException: channel is already closed
[21-11-2013 14:29:54] at hudson.remoting.Channel.send(Channel.java:516)
[21-11-2013 14:29:54] at hudson.remoting.Request.call(Request.java:129)
[21-11-2013 14:29:54] at hudson.remoting.Channel.call(Channel.java:714)
[21-11-2013 14:29:54] at hudson.Launcher$RemoteLauncher.kill(Launcher.java:887)
[21-11-2013 14:29:54] at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:609)
[21-11-2013 14:29:54] at com.tikal.jenkins.plugins.multijob.MultiJobBuild$MultiJobRunnerImpl.run(MultiJobBuild.java:67)
[21-11-2013 14:29:54] at hudson.model.Run.execute(Run.java:1603)
[21-11-2013 14:29:54] at hudson.model.Run.run(Run.java:1549)
[21-11-2013 14:29:54] at com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:60)
[21-11-2013 14:29:54] at hudson.model.ResourceController.execute(ResourceController.java:88)
[21-11-2013 14:29:54] at hudson.model.Executor.run(Executor.java:247)
[21-11-2013 14:29:54] Caused by: java.net.SocketException: Connection reset
[21-11-2013 14:29:54] at java.net.SocketInputStream.read(Unknown Source)
[21-11-2013 14:29:54] at java.net.SocketInputStream.read(Unknown Source)
[21-11-2013 14:29:54] at java.io.BufferedInputStream.fill(Unknown Source)
[21-11-2013 14:29:54] at java.io.BufferedInputStream.read(Unknown Source)
[21-11-2013 14:29:54] at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:77)
[21-11-2013 14:29:54] at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source)
[21-11-2013 14:29:54] at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source)
[21-11-2013 14:29:54] at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
[21-11-2013 14:29:54] at java.io.ObjectInputStream.readObject0(Unknown Source)
[21-11-2013 14:29:54] at java.io.ObjectInputStream.readObject(Unknown Source)
[21-11-2013 14:29:54] at hudson.remoting.Command.readFrom(Command.java:92)
[21-11-2013 14:29:54] at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71)

最佳答案

据我所知,当在从属PC上运行构建并且客户端停止时,可能会出现该错误。
如果这不是主从问题,请查看jenkins的完整日志(您可以在Jenkins安装目录中找到它)并查看导致问题的原因(可能是堆问题,或者我不知道是什么原因导致了问题) 。无论如何,重新启动Jenkins可能是一个解决方案!

关于 Jenkins 问题: hudson. remoting.ChannelClosedException: channel 已关闭,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20136338/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com