Cannot launch slaves now I'm using an Apache proxy

49 views
Skip to first unread message

Jonathan Hodgson

unread,
Oct 26, 2016, 9:52:24 PM10/26/16
to Jenkins Users
Hi,

Does anybody have a working example apache conf running jenkins on a different machine to apache?

Things were working fine whilst I was accessing jenkins directly, but I need to do it through Apache.

Jenkins is running on a different machine to Apache.

Access to Jenkins works, with a redirect to https. Though the manage jenkins page indicated that the reverse proxy is not correctly set up.

But now when I try to launch a slave, it fails

On Windows I normally do it with the button on the slave node page, I get a dialog that says

"Unable to launch the application"
Name Agent for Asus K51
Publisher: Jenkins project
Location: https://


On OSX I use the command line shown on the node page.

I get 

Exception in thread "main" java.lang.IllegalArgumentException protocol = https host = null

In both cases it seems to be showing a location of https://

But I have no idea why it would do that, the jenkins url is set


Jonathan Hodgson

unread,
Oct 27, 2016, 2:33:35 PM10/27/16
to Jenkins Users
Well I've made some progress.

It turns out I was missing a forward slash in my jenkins URL setting (there really should be a syntax check there IMHO)

So now it no longer reports that the reverse proxy is not working.

But launching a slave fails in both cases.

In windows, from the browser, I am getting an exception

FailedDownloadException: Unabvle to load resource: https://mydomain.com/jenkins/jnlp.jars/remoting.jar

and in OSX, from the command line I get

javas.net.ssl.SSProtocolException: handshake alert: unrecognized_name


Reply all
Reply to author
Forward
0 new messages