Hi, I updraged my Jenkins master to version 2.325 ans now when I reboot my jenkins nodes they doesnt reconnect with the master, ans when I reconect the node from the master, it tells a error copying file remoting.jar, and if I remove this file in the node then I can reconnect the node, any permission was change in any folder in the master and nodes machines, then I dont understand why appear this error now when in the previous jenkins version it works fine,
The log to connect with node:
[01/20/22 12:11:22] [SSH] Checking java version of /usr/lib/jvm/java-1.8.0-openjdk/bin/java
[01/20/22 12:11:22] [SSH] /usr/lib/jvm/java-1.8.0-openjdk/bin/java -version returned 1.8.0_302.
[01/20/22 12:11:22] [SSH] Starting sftp client.
[01/20/22 12:11:22] [SSH] Copying latest remoting.jar…
java.io.IOException: Could not copy remoting.jar into ‘/var/lib/jenkins’ on agent
at hudson.plugins.sshslaves.SSHLauncher.copyAgentJar(SSHLauncher.java:717)
at hudson.plugins.sshslaves.SSHLauncher.access$300(SSHLauncher.java:113)
at hudson.plugins.sshslaves.SSHLauncher$1.call(SSHLauncher.java:457)
at hudson.plugins.sshslaves.SSHLauncher$1.call(SSHLauncher.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalArgumentException: invalid len argument
at com.trilead.ssh2.SFTPv3Client.read(SFTPv3Client.java:1232)
at com.trilead.ssh2.jenkins.SFTPClient$SFTPInputStream.read(SFTPClient.java:172)
at com.google.common.io.ByteStreams.toByteArrayInternal(ByteStreams.java:184)
at com.google.common.io.ByteStreams.toByteArray(ByteStreams.java:224)
at hudson.plugins.sshslaves.SSHLauncher.readInputStreamIntoByteArrayAndClose(SSHLauncher.java:775)
at hudson.plugins.sshslaves.SSHLauncher.copyAgentJar(SSHLauncher.java:686)
can you help me?
Thanks.