简体   繁体   English

Jenkins从属设备脱机,并显示消息“错误:连接已终止/连接已终止”

[英]Jenkins slave goes offline with message “ERROR: Connection terminated / Connection aborted”

One of our Jenkins slaves went offline with the following message: 我们的一名Jenkins奴隶下线并显示以下消息:

ERROR: Connection terminated
java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@5fe56036[name=node-helloworld]
    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)
    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:629)
    at 
...
jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
...
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    ... 7 more

We already restarted the slave and the Jenkins master. 我们已经重启了奴隶和詹金斯大师。 Unfortunately nothing helped. 不幸的是,没有任何帮助。 Log analysis neither. 日志分析都没有。

Both, master and slave run on Windows Server 2008. 主服务器和从服务器都在Windows Server 2008上运行。

Do you know what could have caused the problem and how it can be solved? 您知道什么可能导致该问题以及如何解决该问题吗?

I had the same issue with Jenkins 2.6 on linux. 我在Linux上的Jenkins 2.6遇到了同样的问题。 Fixed it by upgrading the java version on the slave from Java 7 to Java 8. 通过将从站上的Java版本从Java 7升级到Java 8进行了修复。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM