Failed to stop container d537cf8e22697f866e146d6d899e008e5a2aff80089923e9a77ed5b5f7da7d56 for node Kubectl-image-0000ew8kc42qk due to exception

0 votes

Hello Everyone,

I have one Job in Jenkins. When this Job will run, it will automatically launch one dynamic docker container. But I found these error in the log file.

Failed to stop container 'd537cf8e22697f866e146d6d899e008e5a2aff80089923e9a77ed5b5f7da7d56' for node 'Kubectl-image-0000ew8kc42qk' due to exception:
java.net.ConnectException: Connection refused
Caused: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /192.168.99.102:4243
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
	at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:327)
	at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:636)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:583)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:500)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:462)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:897)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.lang.Thread.run(Thread.java:748)

How to remove this error?

Jun 4, 2020 in Jenkins by akhtar
• 38,230 points
453 views

1 answer to this question.

0 votes

Hi@akhtar,

Before launching the Node, make sure your Docker server is in running state. You can use this below given commands to run docker server.

$ systemctl daemon-reload
$ systemctl restart docker

Hope this will help.

answered Jun 4, 2020 by MD
• 95,440 points

Related Questions In Jenkins

0 votes
2 answers

Is possible for Jenkins to auto start and stop slave nodes?

Try Jenkins Plugin called as Slave SetupPlugin. This ...READ MORE

answered Aug 6, 2018 in Jenkins by Nilesh
• 7,050 points
6,270 views
+2 votes
5 answers
0 votes
1 answer

How to construct Maven installation in Jenkins for each Slave node?

I’m assuming that Java and Maven are ...READ MORE

answered Aug 2, 2018 in Jenkins by Sophie may
• 10,610 points
4,767 views
+4 votes
7 answers

How to set the pipeline name and description for a Jenkinsfile?

You can rename pipeline jobs in jenkins ...READ MORE

answered Oct 11, 2018 in Jenkins by Hannah
• 18,570 points
34,956 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,090 points
2,426 views
0 votes
1 answer

How to change the image that the slave uses for a jenkins pipeline?

Hi@akhtar, You can specify the Docker images directly ...READ MORE

answered Oct 22, 2020 in Jenkins by MD
• 95,440 points
875 views
0 votes
1 answer

How to give permissions to jenkins user for a particular file?

Hi@akhtar, To give permissions to jenkins user, you ...READ MORE

answered Feb 14, 2020 in Jenkins by MD
• 95,440 points
4,385 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