Problems with the Jenkins slave agent

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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?

            Assignee:
            Jeff Thompson
            Reporter:
            Brady Dalbec
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: