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

Can't launch Windows slave via JNLP when Hudson authentication enabled

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • core
    • None
    • Platform: All, OS: All

      We have configured Hudson security to disallow anonymous access and set read
      access for authenticated users. I noticed though that the Windows slave we have
      registered can no longer launch. In the slave log we see:

      Failing to obtain http://HUDSON.xxxx.com/computer/XXXXXXXX/slave-agent.jnlp
      java.io.IOException: Failed to load
      http://HUDSON.xxxx.com/computer/XXXXXXXX/slave-agent.jnlp: 403 Forbidden
      at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:194)
      at hudson.remoting.Launcher.run(Launcher.java:169)
      at hudson.remoting.Launcher.main(Launcher.java:154)
      Waiting 10 seconds before retry

      I noticed that I can still successfully launch my *nix slave that execute a wget
      -O slave.jar http://HUDSON.xxxx.com/jnlpJars/slave.jar. This path must not be
      protected in the Hudson config while the /computer path is.

          [JENKINS-3734] Can't launch Windows slave via JNLP when Hudson authentication enabled

          Harry G. added a comment - - edited

          -

          Harry G. added a comment - - edited -

          Harry G. added a comment - - edited

          In effect JENKINS-4071 solves this one and I can confirm that it works.
          So I would close this one as duplicated.

          Still open is the next step, to get commons-codec running is very clumsy. This is described in the related JENKINS-9679.

          Harry G. added a comment - - edited In effect JENKINS-4071 solves this one and I can confirm that it works. So I would close this one as duplicated. Still open is the next step, to get commons-codec running is very clumsy. This is described in the related JENKINS-9679 .

          Jesse Glick added a comment -

          I guess this can be closed now.

          Jesse Glick added a comment - I guess this can be closed now.

            Unassigned Unassigned
            petehayes Peter Hayes
            Votes:
            9 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: