May 18, 2023 3:20:06 PM hudson.Launcher$RemoteLaunchCallable$1 join INFO: Failed to synchronize IO streams on the channel hudson.remoting.Channel@441bf04d:JNLP4-connect connection to xxxxx:50000 hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@441bf04d:JNLP4-connect connection to xxxxx:50000": Remote call on JNLP4-connect connection to xxxxx:50000 failed. The channel is closing down or has closed down at hudson.remoting.Channel.call(Channel.java:993) at hudson.remoting.Channel.syncIO(Channel.java:1732) at hudson.Launcher$RemoteLaunchCallable$1.join(Launcher.java:1411) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:924) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:902) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:853) at hudson.remoting.UserRequest.perform(UserRequest.java:211) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:376) at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 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:125) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.nio.channels.ClosedChannelException at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:155) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer.access$1000(BIONetworkLayer.java:51) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader.run(BIONetworkLayer.java:274) ... 4 more May 18, 2023 3:20:06 PM hudson.remoting.Request$2 run INFO: Failed to send back a reply to the request UserRequest:UserRPCRequest:hudson.Launcher$RemoteProcess.join[](11): hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@441bf04d:JNLP4-connect connection to xxxxx:50000": channel is already closed May 18, 2023 3:20:16 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Performing onReconnect operation. May 18, 2023 3:20:16 PM jenkins.slaves.restarter.JnlpSlaveRestarterInstaller$EngineListenerAdapterImpl onReconnect INFO: Restarting agent via jenkins.slaves.restarter.UnixSlaveRestarter@52fde517 May 18, 2023 3:20:18 PM hudson.remoting.jnlp.Main createEngine INFO: Setting up agent: maven-roks-remote-zv9tt May 18, 2023 3:20:18 PM hudson.remoting.Engine startEngine INFO: Using Remoting version: 3044.vb_940a_a_e4f72e May 18, 2023 3:20:18 PM hudson.remoting.Engine startEngine WARNING: No Working Directory. Using the legacy JAR Cache location: /home/jenkins/.jenkins/cache/jars May 18, 2023 3:20:18 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Locating server among [http://xxx.xxx.xxx.xxx:8080/] May 18, 2023 3:20:18 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve INFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping] May 18, 2023 3:20:18 PM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve INFO: Remoting TCP connection tunneling is enabled. Skipping the TCP Agent Listener Port availability check May 18, 2023 3:20:18 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Agent discovery successful Agent address: xxx.xxx.xxx.xxx Agent port: 50000 Identity: xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx May 18, 2023 3:20:18 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Handshaking May 18, 2023 3:20:18 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Connecting to xxx.xxx.xxx.xxx:50000 May 18, 2023 3:20:18 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Trying protocol: JNLP4-connect May 18, 2023 3:20:19 PM org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader run INFO: Waiting for ProtocolStack to start. May 18, 2023 3:20:19 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Remote identity confirmed: xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx May 18, 2023 3:20:19 PM org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer onRecv INFO: [JNLP4-connect connection to xxxxx:50000] Local headers refused by remote: maven-roks-remote-zv9tt is already connected to this controller. Rejecting this connection. May 18, 2023 3:20:19 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Protocol JNLP4-connect encountered an unexpected exception java.util.concurrent.ExecutionException: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: maven-roks-remote-zv9tt 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:798) at hudson.remoting.Engine.run(Engine.java:543) Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: maven-roks-remote-zv9tt is already connected to this controller. Rejecting this connection. at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.newAbortCause(ConnectionHeadersFilterLayer.java:380) at org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.onRecvClosed(ConnectionHeadersFilterLayer.java:435) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:825) at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:289) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:168) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:825) at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:155) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer.access$700(BIONetworkLayer.java:51) at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader.run(BIONetworkLayer.java:257) 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:125) at java.base/java.lang.Thread.run(Thread.java:829) Suppressed: java.nio.channels.ClosedChannelException ... 7 more May 18, 2023 3:20:19 PM hudson.remoting.jnlp.Main$CuiListener status INFO: reconnect rejected, sleeping 10s: java.lang.Exception: The server rejected the connection: None of the protocols were accepted at hudson.remoting.Engine.onConnectionRejected(Engine.java:877) at hudson.remoting.Engine.innerRun(Engine.java:824) at hudson.remoting.Engine.run(Engine.java:543)