-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Minor
-
Component/s: remoting
-
Environment: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?