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

Jenkins Slave Agent throws "Read timed out" and "String index out of range: -1"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Labels:
      None
    • Environment:
      Slave on Windows 2012r2, call client agent tried with java 1.7.0_25-b17 and 1.8.0_91-b15;
      Jenkins Version: jenkins-war:1.651.3 running as a service with Java 1.6.0_29-b11 on Windows Server 2008
    • Similar Issues:

      Description

      Found this issue while setup of a new Node Windows2012r2.
      Agent cannot connect to the Jenkins Master.
      Master throws these Exceptions (pls. see Attachments).
      Remoting.jar could been downloaded and executed.

      + Tried with diffrent JRs.
      + Checked firewall on both sides
      + Tried with Global Security on and off
      + Called Agent from command line directly

        Attachments

          Issue Links

            Activity

            Hide
            tgw2 Andreas Jusic added a comment -

            I found a workaround:
            Disabled all corporate proxy configuration. Also removed all proxy entries in Environment Variables.

            Result:
            Nov 23, 2016 3:34:40 PM hudson.remoting.jnlp.Main createEngine
            INFO: Setting up slave: engines_win2012r2
            Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener <init>
            INFO: Jenkins agent is running in headless mode.
            Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener status
            INFO: Locating server among http://vmw9999.bmw.car.corp:8383/
            Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener status
            INFO: Handshaking
            Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener status
            INFO: Connecting to vmw9999.bmw.car.corp:52702
            Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener status
            INFO: Trying protocol: JNLP3-connect
            Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener status
            INFO: Server didn't accept the handshake: Unknown protocol:Protocol:JNLP3-connect
            Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener status
            INFO: Connecting to vmw9999.bmw.car.corp:52702
            Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener status
            INFO: Trying protocol: JNLP2-connect
            Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener status
            INFO: Connected

            Show
            tgw2 Andreas Jusic added a comment - I found a workaround: Disabled all corporate proxy configuration. Also removed all proxy entries in Environment Variables. Result: Nov 23, 2016 3:34:40 PM hudson.remoting.jnlp.Main createEngine INFO: Setting up slave: engines_win2012r2 Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener <init> INFO: Jenkins agent is running in headless mode. Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among http://vmw9999.bmw.car.corp:8383/ Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Handshaking Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Connecting to vmw9999.bmw.car.corp:52702 Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Trying protocol: JNLP3-connect Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Server didn't accept the handshake: Unknown protocol:Protocol:JNLP3-connect Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Connecting to vmw9999.bmw.car.corp:52702 Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Trying protocol: JNLP2-connect Nov 23, 2016 3:34:41 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Connected

              People

              Assignee:
              kohsuke Kohsuke Kawaguchi
              Reporter:
              tgw2 Andreas Jusic
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: