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

My Jenkins on a Windows 10 host can't find the Host as Slave

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • _unsorted
    • None
    • OS Version/build: Windows 10
      Docker App version: Version 17.03.1-ce-win5 (10743) Channel: stable
      jenkins Version: latest, 2.46.1 >> https://hub.docker.com/r/_/jenkins/

      The Windows 10 that runs docker shoud be a slave for Jenkins, I created a "localhost" Node, when I Start I get the Error:

      C:\Users\Schindler\Downloads>java -jar slave.jar -jnlpUrl http://localhost:32769/computer/localhost/slave-agent.jnlp

      Failing to obtain http://localhost:32769/computer/localhost/slave-agent.jnlp

      java.io.IOException: Failed to load http://localhost:32769/computer/localhost/slave-agent.jnlp: 503 Service Unavailable

              at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:400)

              at hudson.remoting.Launcher.run(Launcher.java:248)

              at hudson.remoting.Launcher.main(Launcher.java:218)

      Waiting 10 seconds before retry

       

      But I can reach http://localhost:32769/tcpSlaveAgentListener/ from Crome an Download the slave-agent.jnlp

      When I start then this:

      C:\Users\Schindler\Downloads>java -jar slave.jar -jnlpUrl file:///C:/Users/Schindler/Downloads/slave-agent.jnlp

       

      I get this Error:

      Apr 25, 2017 3:01:12 PM hudson.remoting.jnlp.Main createEngine

      INFORMATION: Setting up slave: localhost

      Apr 25, 2017 3:01:12 PM hudson.remoting.jnlp.Main$CuiListener <init>

      INFORMATION: Jenkins agent is running in headless mode.

      Apr 25, 2017 3:01:13 PM hudson.remoting.jnlp.Main$CuiListener status

      INFORMATION: Locating server among http://localhost:32769/

      Apr 25, 2017 3:01:13 PM hudson.remoting.jnlp.Main$CuiListener error

      SCHWERWIEGEND: http://localhost:32769/tcpSlaveAgentListener/ is invalid: 503 Service Unavailable

      java.io.IOException: http://localhost:32769/tcpSlaveAgentListener/ is invalid: 503 Service Unavailable

              at org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver.resolve(JnlpAgentEndpointResolver.java:165)

              at hudson.remoting.Engine.innerRun(Engine.java:335)

              at hudson.remoting.Engine.run(Engine.java:287)

       

       

      Can Somebody help?

            ndeloof Nicolas De Loof
            derchristoph Christoph Bro
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: