Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53342

agent went offline after jenkins instance restart

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Critical Critical
    • remoting
    • windows

      Hello,

      I am using jenkins v2.105 and jre 1.8

      I am using Linux as master and IBM AIX and windows server 2K12 as slaves. we are executing nightly builds on both slaves, yesterday i have restarted Jenkins instance after that agent which are configured on windows through JNLP went offline and not coming online. below is the error it's showing on windows, anybody has any workaround for this issue then please let me know.

       

      Aug 29, 2018 1:43:04 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Locating server among http://x.x.x.x:x/jenkins/
      Aug 29, 2018 1:43:04 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve
      INFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping]
      Aug 29, 2018 1:43:04 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Agent discovery successful
        Agent address: x.x.x.x
        Agent port:    37091
        Identity:      51:a8:0d:a8:18:dd:db:d8:ea:18:b7:98:da:76:b2:ae
      Aug 29, 2018 1:43:04 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Handshaking
      Aug 29, 2018 1:43:04 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Connecting to x.x.x.x:37091
      Aug 29, 2018 1:43:35 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Connecting to x.x.x.x:37091 (retrying:2)
      java.io.IOException: Failed to connect to x.x.x.x:37091
       at org.jenkinsci.remoting.engine.JnlpAgentEndpoint.open(JnlpAgentEndpoint.java:242)
       at hudson.remoting.Engine.connect(Engine.java:686)
       at hudson.remoting.Engine.innerRun(Engine.java:547)
       at hudson.remoting.Engine.run(Engine.java:469)
      Caused by: java.net.ConnectException: Connection timed out: connect
       at sun.nio.ch.Net.connect0(Native Method)
       at sun.nio.ch.Net.connect(Unknown Source)
       at sun.nio.ch.Net.connect(Unknown Source)
       at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
       at java.nio.channels.SocketChannel.open(Unknown Source)
       at org.jenkinsci.remoting.engine.JnlpAgentEndpoint.open(JnlpAgentEndpoint.java:203)
       ... 3 more

       

      Could you please help me out here?

      just replaced master IP with x.x.x.x.

      Thanks in advance.

            jthompson Jeff Thompson
            shrapm shraddha Magar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: