作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我们看到的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/
我们看到的hudson.remoting.ChannelClosedException: channel is already closed是由java.net.SocketException: Co
我是一名优秀的程序员,十分优秀!