-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Debian as Master, Windows 2008 as Slave
I can connect my slave agent using the downloaded jnlp file, but Windows service is not working because of authorization.
My configuration looks like this:
-Xrs -jar "%BASE%\slave.jar" -auth xxx:xxx -jnlpUrl http://xxx.dyndns.org/computer/windows/slave-agent.jnlp -cp "%BASE%\lib\commons-codec-1.5.jar" -jnlpCredentials xxx:xxx
And in logs I see:
Failing to obtain http://homersoft-ci.dyndns.org/computer/windows/slave-agent.jnlp java.io.IOException: Failed to load http://xxx.dyndns.org/computer/windows/slave-agent.jnlp: 403 Forbidden at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:230) at hudson.remoting.Launcher.run(Launcher.java:192) at hudson.remoting.Launcher.main(Launcher.java:168)
I'm using the GitHub OAuth plugin.
[JENKINS-14524] Slave agent authorization 401
Component/s | New: github-oauth [ 15900 ] | |
Description |
Original:
I can connect my slave agent using the downloaded jnlp file, but Windows service is not working because of authorization. My configuration looks like this: -Xrs -jar "%BASE%\slave.jar" -auth xxx:xxx -jnlpUrl http://xxx.dyndns.org/computer/windows/slave-agent.jnlp -cp "%BASE%\lib\commons-codec-1.5.jar" -jnlpCredentials xxx:xxx And in logs I see: Failing to obtain http://homersoft-ci.dyndns.org/computer/windows/slave-agent.jnlp java.io.IOException: Failed to load http://xxx.dyndns.org/computer/windows/slave-agent.jnlp: 403 Forbidden at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:230) at hudson.remoting.Launcher.run(Launcher.java:192) at hudson.remoting.Launcher.main(Launcher.java:168) |
New:
I can connect my slave agent using the downloaded jnlp file, but Windows service is not working because of authorization. My configuration looks like this: {code} -Xrs -jar "%BASE%\slave.jar" -auth xxx:xxx -jnlpUrl http://xxx.dyndns.org/computer/windows/slave-agent.jnlp -cp "%BASE%\lib\commons-codec-1.5.jar" -jnlpCredentials xxx:xxx {code} And in logs I see: {code} Failing to obtain http://homersoft-ci.dyndns.org/computer/windows/slave-agent.jnlp java.io.IOException: Failed to load http://xxx.dyndns.org/computer/windows/slave-agent.jnlp: 403 Forbidden at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:230) at hudson.remoting.Launcher.run(Launcher.java:192) at hudson.remoting.Launcher.main(Launcher.java:168) {code} I'm using the GitHub OAuth plugin. |
Priority | Original: Critical [ 2 ] | New: Major [ 3 ] |
The problem is with GitHub oauth plugin turned on. When using Jenkins own database it is working.