-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Jenkins 2.244
Remoting 4.3
Server is on Windows 7
Slave is on Windows 10
We are running an Jenkins instance on an internal domain using self-signed SSL certificates. The certificate has been manually added to java's casert store. (keytool -cacert -import ...) Establishing a connection betwenn a slave node and the master failes. (On another jenkins instance with http only, webSocket works like a charm)
Logs on server side:
Inbound agent connected from 10.12.5.25 ERROR: Connection terminated java.nio.channels.ClosedChannelException at jenkins.agents.WebSocketAgents$Session.closed(WebSocketAgents.java:141) at jenkins.websocket.WebSocketSession.onWebSocketSomething(WebSocketSession.java:91) at com.sun.proxy.$Proxy113.onWebSocketClose(Unknown Source) at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onClose(JettyListenerEventDriver.java:119) at org.eclipse.jetty.websocket.common.WebSocketSession.callApplicationOnClose(WebSocketSession.java:393) at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.disconnect(AbstractWebSocketConnection.java:317) at org.eclipse.jetty.websocket.common.WebSocketSession.onClosed(WebSocketSession.java:436) at org.eclipse.jetty.io.AbstractConnection.onClosed(AbstractConnection.java:237) at org.eclipse.jetty.io.AbstractConnection.onClose(AbstractConnection.java:229) at org.eclipse.jetty.io.ssl.SslConnection.onClose(SslConnection.java:366) at org.eclipse.jetty.io.SelectorManager.connectionClosed(SelectorManager.java:345) at org.eclipse.jetty.io.ManagedSelector$DestroyEndPoint.run(ManagedSelector.java:1062) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) at java.base/java.lang.Thread.run(Thread.java:834)
Logs on slave side:
INFO: Using D:\Jenkins\remoting as a remoting work directory Juli 08, 2020 11:46:03 VORM. org.jenkinsci.remoting.engine.WorkDirManager setupLogging INFO: Both error and output logs will be printed to D:\Jenkins\remoting Juli 08, 2020 11:46:05 VORM. hudson.remoting.jnlp.Main createEngine INFO: Setting up agent: prottest08 Juli 08, 2020 11:46:05 VORM. hudson.remoting.jnlp.Main$CuiListener <init> INFO: Jenkins agent is running in headless mode. Juli 08, 2020 11:46:05 VORM. hudson.remoting.Engine startEngine INFO: Using Remoting version: 4.3 Juli 08, 2020 11:46:05 VORM. org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir INFO: Using D:\Jenkins\remoting as a remoting work directory Juli 08, 2020 11:46:37 VORM. hudson.remoting.jnlp.Main$CuiListener error SEVERE: Handshake response not received. io.jenkins.remoting.shaded.javax.websocket.DeploymentException: Handshake response not received. at io.jenkins.remoting.shaded.org.glassfish.tyrus.client.ClientManager$3$1.run(ClientManager.java:694) at io.jenkins.remoting.shaded.org.glassfish.tyrus.client.ClientManager$3.run(ClientManager.java:712) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at io.jenkins.remoting.shaded.org.glassfish.tyrus.client.ClientManager$SameThreadExecutorService.execute(ClientManager.java:866) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) at io.jenkins.remoting.shaded.org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:511) at io.jenkins.remoting.shaded.org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:355) at hudson.remoting.Engine.runWebSocket(Engine.java:627) at hudson.remoting.Engine.run(Engine.java:469)
- duplicates
-
JENKINS-61212 CLI, Agent -websockets DeploymentException: Handshake response not received on jdk-11
- Closed