Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67561

Connection is rejecting while trying to connect slave to master

XMLWordPrintable

      I'm trying to connect slave to master but connection gets refused and I have captured the log and updated below.

      Jan 11, 2022 5:10:54 AM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolveJan 11, 2022 5:10:54 AM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolveINFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping, Diagnostic-Ping, OperationsCenter2]Jan 11, 2022 5:10:55 AM org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader runINFO: Waiting for ProtocolStack to start.Jan 11, 2022 5:10:55 AM org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer onRecvINFO: [JNLP4-connect connection to VM/IP:PORT] Local headers refused by remote: sqa-server02 is already connected to this controller. Rejecting this connection.Jan 11, 2022 5:10:55 AM hudson.remoting.jnlp.GuiListener lambda$status$0INFO: Protocol JNLP4-connect encountered an unexpected exceptionjava.util.concurrent.ExecutionException: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: VM is already connected to this controller. Rejecting this connection. at org.jenkinsci.remoting.util.SettableFuture.get(SettableFuture.java:223) at hudson.remoting.Engine.innerRun(Engine.java:778) at hudson.remoting.Engine.run(Engine.java:540)Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: VM is already connected to this controller. Rejecting this connection. at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.newAbortCause(ConnectionHeadersFilterLayer.java:378) at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.onRecvClosed(ConnectionHeadersFilterLayer.java:433) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:825) at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:288) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:170) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:825) at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer.access$1500(BIONetworkLayer.java:49) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader.run(BIONetworkLayer.java:255) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:122) at java.base/java.lang.Thread.run(Thread.java:829) Suppressed: java.nio.channels.ClosedChannelException ... 7 more
      Jan 11, 2022 5:10:55 AM hudson.remoting.jnlp.GuiListener$1 runSEVERE: The server rejected the connection: None of the protocols were acceptedjava.lang.Exception: The server rejected the connection: None of the protocols were accepted at hudson.remoting.Engine.onConnectionRejected(Engine.java:864) at hudson.remoting.Engine.innerRun(Engine.java:804) at hudson.remoting.Engine.run(Engine.java:540)

       

      Can anyone please look into this issue?

            000panther Paul Weber
            saivenkat sai Venkat
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: