swarm plugin: Cannot find tcpSlaveAgentListener

2,340 views
Skip to first unread message

grayaii

unread,
Oct 27, 2011, 10:34:52 AM10/27/11
to jenkins...@googlegroups.com
Hi,
I'm using 1.6 of the swarm plugin and our jenkins version is 1.432.

I installed the plugin on the Jenkins master, but when I try to connect the
slave machine (windows XP) to the master, I get this error:

C:\>java -jar c:\temp\swarm-client-1.6-jar-with-dependencies.jar -master
http://[JENKINS_IP]:8080/jenkins -name ALEX_SLAVE -executors 1 -labels
ALEX_LABEL -password my_passWord -username my_userName

Discovering Jenkins master

Found 1 eligible Jenkins.
Oct 27, 2011 10:11:30 AM hudson.remoting.jnlp.Main$CuiListener <init>
INFO: Hudson agent is running in headless mode.
Oct 27, 2011 10:11:30 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://[JENKINS_IP]:8080/jenkins]
Oct 27, 2011 10:11:30 AM hudson.remoting.jnlp.Main$CuiListener error
SEVERE: http://[JENKINS_IP]:8080/jenkins/tcpSlaveAgentListener/ is invalid:
404 Not Found
java.lang.Exception:
*http://[JENKINS_IP]:8080/jenkins/tcpSlaveAgentListener/ is invalid:* 404
Not Found
at hudson.remoting.Engine.run(Engine.java:170)

Any idea why this directory does not exist? How do I get it? I checked the
Jenkin's file system and it's not there. Am I missing a plugin or
something?

--
View this message in context: http://jenkins.361315.n4.nabble.com/swarm-plugin-Cannot-find-tcpSlaveAgentListener-tp3944696p3944696.html
Sent from the Jenkins users mailing list archive at Nabble.com.

grayaii

unread,
Oct 27, 2011, 10:39:29 AM10/27/11
to jenkins...@googlegroups.com
dang. Spoke too soon. I simple had to:
Under Manage Jenkins, enabled the "TCP port for JNLP slave agents" to be
random, and that allowed the slave to connect to Jenkins.

That got it working.


--
View this message in context: http://jenkins.361315.n4.nabble.com/swarm-plugin-Cannot-find-tcpSlaveAgentListener-tp3944696p3944714.html

grayaii

unread,
Mar 27, 2017, 3:59:12 PM3/27/17
to Jenkins Users, georg...@rsa.com
lol. I googled for this and found my own answer after 6 years. lol
Reply all
Reply to author
Forward
0 new messages