我们的一个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
我们已经重新启动了奴隶和詹金斯大师。不幸的是没什记录分析。
主服务器和从服务器都在Windows Server 2008上运行。
您知道可能导致问题的原因以及如何解决问题吗?
答案 0 :(得分:1)
我在Linux上遇到了与Jenkins 2.6相同的问题。通过将从Java 7上的Java版本升级到Java 8来修复它。