Caused by org jenkinsci remoting protocol impl ConnectionRefusalException Connection closed before acknowledgement sent

0 votes

Hi Guys,

I am trying to run agent.jar command in my windows system to setup as a node in Jenkins. But it throws me the below error.

java.util.concurrent.ExecutionException: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: Connection closed before acknowledgement sent
        at org.jenkinsci.remoting.util.SettableFuture.get(SettableFuture.java:223)
        at hudson.remoting.Engine.innerRun(Engine.java:740)
        at hudson.remoting.Engine.run(Engine.java:518)
Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: Connection closed before acknowledgement sent
        at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.onRecvClosed(AckFilterLayer.java:283)
        at org.jenkinsci.remoting.protocol.FilterLayer.abort(FilterLayer.java:164)
        at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.access$000(AckFilterLayer.java:45)
        at org.jenkinsci.remoting.protocol.impl.AckFilterLayer$1.run(AckFilterLayer.java:179)
        at org.jenkinsci.remoting.protocol.IOHub$DelayedRunnable.run(IOHub.java:964)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:117)
        at java.lang.Thread.run(Unknown Source)
May 29, 2020 12:37:48 AM hudson.remoting.jnlp.Main$CuiListener error
SEVERE: The server rejected the connection: None of the protocols were accepted
java.lang.Exception: The server rejected the connection: None of the protocols were accepted
        at hudson.remoting.Engine.onConnectionRejected(Engine.java:825)
        at hudson.remoting.Engine.innerRun(Engine.java:765)
        at hudson.remoting.Engine.run(Engine.java:518)

How can I solve this error?

May 29, 2020 in Jenkins by akhtar
• 38,260 points
4,791 views
Интересный пост

1 answer to this question.

0 votes

Hi@akhtar,

This type of error may occur because of network connectivity. Check your host IP address in Jenkins configuration. Also make sure your DNS server is updated according to your settings.

answered May 29, 2020 by MD
• 95,460 points

Related Questions In Jenkins

0 votes
1 answer

Print the line if it contains a specific string by using groovy.

You can try the code written below: ...READ MORE

answered Apr 27, 2018 in Jenkins by shubham
• 7,340 points
30,319 views
0 votes
1 answer

Installing the Jenkins slave service by Jenkins

In the slave machine try install the ...READ MORE

answered Aug 14, 2018 in Jenkins by Kalgi
• 52,350 points
2,614 views
0 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,062 views
+2 votes
1 answer
0 votes
1 answer
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