-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
Master
Jenkins slave on Ubuntu 12.04
Slave
Windows 2008 R2 Server
JRE 1.8
When We try to reconnect any windows slave it throws following exception.
JNLP agent connected from /10.219.160.235
<===[JENKINS REMOTING CAPACITY]===>Failed to establish the connection with the slave IB-TC-5
java.io.IOException: NioChannelHub is not currently running
at org.jenkinsci.remoting.nio.NioChannelHub$1.makeTransport(NioChannelHub.java:492)
at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:351)
at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:280)
at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:290)
at org.jenkinsci.remoting.nio.NioChannelBuilder.build(NioChannelBuilder.java:36)
at org.jenkinsci.remoting.nio.NioChannelBuilder.build(NioChannelBuilder.java:52)
at jenkins.slaves.JnlpSlaveAgentProtocol$Handler.jnlpConnect(JnlpSlaveAgentProtocol.java:120)
at jenkins.slaves.DefaultJnlpSlaveReceiver.handle(DefaultJnlpSlaveReceiver.java:63)
at jenkins.slaves.JnlpSlaveAgentProtocol2$Handler2.run(JnlpSlaveAgentProtocol2.java:57)
at jenkins.slaves.JnlpSlaveAgentProtocol2.handle(JnlpSlaveAgentProtocol2.java:31)
at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:156)
We checked all the configuration on Windows slave. Everything looks perfect e.g JENKINS_HOME etc.
If this happens for one slave then all the slaves which try to connect after shows the same error.
There is only one workaround to fix this is to restart Jenkins and then everything falls in place.