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

Problems with the Jenkins slave agent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • core, remoting
    • None
    • Jenkins ver. 2.122

      I keep getting this error when trying to run the Jenkins slave agent on linux:

       

      java.io.IOException: Failed to load http://address:8080/computer/pc-name/slave-agent.jnlp?encrypt=true: 403 Forbidden
       at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:496)
       at hudson.remoting.Launcher.run(Launcher.java:322)
       at hudson.remoting.Launcher.main(Launcher.java:283)
      Waiting 10 seconds before retry
      

       

      And here is the command I run:

      java -jar agent.jar -jnlpUrl http://address:8080/computer/ARMHF-Builder%20RPI3B/slave-agent.jnlp -secret <secret> -workDir "/home/jenkins"

       

      I have tried also the -jnlpCredentials argument and I do not want to enable anonymous access (as this is a public build server) to create or connect to Jenkins slaves. Any way to fix this at all?

            jthompson Jeff Thompson
            dynomite567 Brady Dalbec
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: