java.io.IOException: NioChannelHub is not currently running

Jenkins JIRA | manohar joshi | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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.

    Jenkins JIRA | 1 year ago | manohar joshi
    java.io.IOException: NioChannelHub is not currently running
  2. 0

    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.

    Jenkins JIRA | 1 year ago | manohar joshi
    java.io.IOException: NioChannelHub is not currently running

    Root Cause Analysis

    1. java.io.IOException

      NioChannelHub is not currently running

      at org.jenkinsci.remoting.nio.NioChannelHub$1.makeTransport()
    2. org.jenkinsci.remoting
      NioChannelHub$1.makeTransport
      1. org.jenkinsci.remoting.nio.NioChannelHub$1.makeTransport(NioChannelHub.java:492)
      1 frame
    3. Hudson :: Remoting Layer
      ChannelBuilder.build
      1. hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:351)
      2. hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:280)
      3. hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:290)
      3 frames
    4. org.jenkinsci.remoting
      NioChannelBuilder.build
      1. org.jenkinsci.remoting.nio.NioChannelBuilder.build(NioChannelBuilder.java:36)
      2. org.jenkinsci.remoting.nio.NioChannelBuilder.build(NioChannelBuilder.java:52)
      2 frames
    5. jenkins.slaves
      JnlpSlaveAgentProtocol2.handle
      1. jenkins.slaves.JnlpSlaveAgentProtocol$Handler.jnlpConnect(JnlpSlaveAgentProtocol.java:120)
      2. jenkins.slaves.DefaultJnlpSlaveReceiver.handle(DefaultJnlpSlaveReceiver.java:63)
      3. jenkins.slaves.JnlpSlaveAgentProtocol2$Handler2.run(JnlpSlaveAgentProtocol2.java:57)
      4. jenkins.slaves.JnlpSlaveAgentProtocol2.handle(JnlpSlaveAgentProtocol2.java:31)
      4 frames
    6. Hudson
      TcpSlaveAgentListener$ConnectionHandler.run
      1. hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:156)
      1 frame