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 in Jenkins by akhtar
• 14,590 points
64 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 by MD
• 32,730 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
• 6,970 points
2,074 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 1, 2018 in Jenkins by Sophie may
• 9,940 points
1,573 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,060 points
15,572 views
0 votes
1 answer
0 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
• 57,530 points
604 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 in Jenkins by MD
• 32,730 points
248 views
0 votes
1 answer

Failed to connect to repository : Failed to create http proxy uri

Hi, To avoid this error, you have to ...READ MORE

answered Apr 10 in Jenkins by MD
• 32,730 points
140 views