2016-11-30 48 views
0

我们的一个詹金斯奴隶以下消息下线去:詹金斯从下线与消息“错误:连接终止/中止连接”

ERROR: Connection terminated 
java.io.IOException: Connection aborted: [email protected]36[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 

我们已经重新启动了奴隶和主人詹金斯。不幸的是没有任何帮助日志分析都不是。

两个,主机和从机都运行Windows Server 2008上

你知道什么原因可能造成的问题以及如何解决?

+0

当消息出现时,从设备是否确实离线? – Rik

+0

从站正在运行。但詹金斯大师无法连接它。或相反亦然。 – andreasgk

+0

您是否看到:https://issues.jenkins-ci.org/browse/JENKINS-28155 – Rik

回答

1

我在linux上与Jenkins 2.6有同样的问题。通过将从设备上的Java版本从Java 7升级到Java 8来修复它。