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

Problem with security to start slave-agent with JNLP at WindowsXP.

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • _unsorted
    • None
    • WinXP server and slave

      Problem to start slave agent as JNLP
      Hudson is configured for use Active Directory and Project-based Matrix Authorization Strategy.
      Some log see below:
      **************************************************************************************
      >java -jar slave.jar -jnlpUrl http://Hudson/computer/VirtualBOX/slave-agent.jnlp -auth user:password
      Failing to obtain http://Hudson/computer/VirtualBOX/slave-agent.jnlp
      java.io.IOException: Failed to load http://Hudson/computer/VirtualBOX/slave-agent.jnlp: 403 Forbidden
      at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:229)
      at hudson.remoting.Launcher.run(Launcher.java:191)
      at hudson.remoting.Launcher.main(Launcher.java:167)
      Waiting 10 seconds before retry
      **************************************************************************************
      This user "user" - have full grants.
      If switch to use "Logged-in users can do anything", it work OK.

          [JENKINS-6278] Problem with security to start slave-agent with JNLP at WindowsXP.

          Romain Seguy added a comment -

          You need to give the overall read permission to anonymous.

          Romain Seguy added a comment - You need to give the overall read permission to anonymous.

          jsirex added a comment -

          I have the same problem.
          But if I give overall read permission to anonymous I have trouble with links when user not authorized: i receive 404 error page instead login+redirect_to page

          jsirex added a comment - I have the same problem. But if I give overall read permission to anonymous I have trouble with links when user not authorized: i receive 404 error page instead login+redirect_to page

          jsirex added a comment -

          work around for me: I've manually download slave-agent.jnlp to slave machine and modify jnlpurl in hudson-slave.xml like this:
          file:///D:/hudson/slave-agent.jnlp
          Now it works for me but it may have problems after upgrade hudson to a new version

          jsirex added a comment - work around for me: I've manually download slave-agent.jnlp to slave machine and modify jnlpurl in hudson-slave.xml like this: file:///D:/hudson/slave-agent.jnlp Now it works for me but it may have problems after upgrade hudson to a new version

            Unassigned Unassigned
            dbuk dbuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: