Jump to: navigation, search

Windows slaves fail to start via JNLP

Revision as of 15:35, 3 January 2013 by Scott.fisher.oracle.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In some specific situations, when trying to instantiate a slave through JNLP, Java Web Start may raise an error saying that it's unable to run the application "Slave agent for <your machine>":

Hudson-slave-jnlp-error-2.png

This occurs because the Hudson master node has used the loopback IP address (127.0.0.1) rather than using the standard (non-loopback) one. This is clearly shown when going to the slave node's page in the Hudson console:

Hudson-slave-jnlp-error-1.png

Here we can see that the IP loopback address appears several times, depicting the problem that occurs.

To fix it:

  1. Go to the E-mail Notification section of the Hudson main configuration panel.
  2. Set the Hudson URL using the non-loopback IP address.