Kubernetes- Jenkins slave node shows offline

0 votes

When i do the following:

Aug 16, 2016 6:56:38 AM hudson.remoting.jnlp.Main createEngine
INFO: Setting up slave: jnlp-slave-1c45182a61
Aug 16, 2016 6:56:38 AM hudson.remoting.jnlp.Main$CuiListener <init>
INFO: Jenkins agent is running in headless mode.
Aug 16, 2016 6:56:38 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://jenkins_server_ip:8080]
Aug 16, 2016 6:56:38 AM hudson.remoting.jnlp.Main$CuiListener error
SEVERE: http://jenkins_server_ip:8080/tcpSlaveAgentListener/ is invalid: 404 Not Found
java.lang.Exception: http://jenkins_server_ip:8080/tcpSlaveAgentListener/ is invalid: 404 Not Found
        at hudson.remoting.Engine.run(Engine.java:215)

I get the following error:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /tcpSlaveAgentListener/. Reason:
<pre>    Not Found</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>
</body>
</html>

Sep 5, 2018 in Kubernetes by Hannah
• 18,570 points
4,045 views

1 answer to this question.

0 votes
TCP port for JNLP slave agent should not be disabled.

To enable it follow these steps:

1) goto Manage jenkins

2) enable the "TCP port for JNLP slave agent"
answered Sep 5, 2018 by Kalgi
• 52,360 points

Related Questions In Kubernetes

0 votes
1 answer

Unable to open jenkins on the slave- Kubernetes

Execute these commands first and let me ...READ MORE

answered Dec 19, 2018 in Kubernetes by Charlie
595 views
0 votes
1 answer
0 votes
1 answer

One user per node in kubernetes cluster

In your case with the information you've ...READ MORE

answered Oct 5, 2018 in Kubernetes by Kalgi
• 52,360 points
419 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
14,523 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 12, 2019 in Kubernetes by Kalgi
• 52,360 points

reshown Apr 12, 2019 by Kalgi 5,976 views
+2 votes
5 answers
0 votes
1 answer

Define pod yaml dynamically-jenkins pipeline Kubernetes

Try using jinja template engine and python ...READ MORE

answered Aug 28, 2018 in Kubernetes by Kalgi
• 52,360 points
1,156 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP