Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
-
2.317
Description
Testing CLI, agent connections with the new '-websocket' functionality added by
JEP-222.
Jetty access log shows:
172.18.0.3 - - [25/Feb/2020:01:48:06 +0000] "GET /cli/ws HTTP/1.1" 101 0 "-" "-"
CLI output:
javax.websocket.DeploymentException: Handshake response not received. at org.glassfish.tyrus.client.ClientManager$3$1.run(ClientManager.java:694) at org.glassfish.tyrus.client.ClientManager$3.run(ClientManager.java:712) ... at org.glassfish.tyrus.client.ClientManager$SameThreadExecutorService.execute(ClientManager.java:866) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) at org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:511) at org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:355) at hudson.cli.CLI.webSocketConnection(CLI.java:323) at hudson.cli.CLI._main(CLI.java:301) at hudson.cli.CLI.main(CLI.java:95)
When I attach a debugger to the Jenkins server it seems to get stuck here:
https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/cli/CLIAction.java#L255
Attachments
Issue Links
- is duplicated by
-
JENKINS-61253 Remoting using WebSocket fails with "Handshake response not received" Exception
-
- Closed
-
-
JENKINS-66836 Handshake response not received with release 1.30.2 and We
-
- Closed
-
-
JENKINS-63011 No slave connection with remoting webSocket
-
- Closed
-
-
JENKINS-63313 WS agent can't connect to with jdk11, works with jdk8
-
- Closed
-
-
JENKINS-67517 Websocket agent connection fail
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Description |
Testing CLI, agent connections with the new '-websocket' functionality added by JEP-222. Jetty access log shows: {code} 172.18.0.3 - - [25/Feb/2020:01:48:06 +0000] "GET /cli/ws HTTP/1.1" 101 0 "-" "-" {code} CLI output: {code} javax.websocket.DeploymentException: Handshake response not received. at org.glassfish.tyrus.client.ClientManager$3$1.run(ClientManager.java:694) at org.glassfish.tyrus.client.ClientManager$3.run(ClientManager.java:712) ... at org.glassfish.tyrus.client.ClientManager$SameThreadExecutorService.execute(ClientManager.java:866) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) at org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:511) at org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:355) at hudson.cli.CLI.webSocketConnection(CLI.java:323) at hudson.cli.CLI._main(CLI.java:301) at hudson.cli.CLI.main(CLI.java:95) {code} When I attach a debugger to the Jenkins server it seems to get stuck here: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/cli/CLIAction.java#L255 |
Testing CLI, agent connections with the new '-websocket' functionality added by [JEP-222|[https://github.com/jenkinsci/jep/blob/master/jep/222/README.adoc]]. Jetty access log shows: {code:java} 172.18.0.3 - - [25/Feb/2020:01:48:06 +0000] "GET /cli/ws HTTP/1.1" 101 0 "-" "-" {code} CLI output: {code:java} javax.websocket.DeploymentException: Handshake response not received. at org.glassfish.tyrus.client.ClientManager$3$1.run(ClientManager.java:694) at org.glassfish.tyrus.client.ClientManager$3.run(ClientManager.java:712) ... at org.glassfish.tyrus.client.ClientManager$SameThreadExecutorService.execute(ClientManager.java:866) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) at org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:511) at org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:355) at hudson.cli.CLI.webSocketConnection(CLI.java:323) at hudson.cli.CLI._main(CLI.java:301) at hudson.cli.CLI.main(CLI.java:95) {code} When I attach a debugger to the Jenkins server it seems to get stuck here: [https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/cli/CLIAction.java#L255] |
Description |
Testing CLI, agent connections with the new '-websocket' functionality added by [JEP-222|[https://github.com/jenkinsci/jep/blob/master/jep/222/README.adoc]]. Jetty access log shows: {code:java} 172.18.0.3 - - [25/Feb/2020:01:48:06 +0000] "GET /cli/ws HTTP/1.1" 101 0 "-" "-" {code} CLI output: {code:java} javax.websocket.DeploymentException: Handshake response not received. at org.glassfish.tyrus.client.ClientManager$3$1.run(ClientManager.java:694) at org.glassfish.tyrus.client.ClientManager$3.run(ClientManager.java:712) ... at org.glassfish.tyrus.client.ClientManager$SameThreadExecutorService.execute(ClientManager.java:866) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) at org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:511) at org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:355) at hudson.cli.CLI.webSocketConnection(CLI.java:323) at hudson.cli.CLI._main(CLI.java:301) at hudson.cli.CLI.main(CLI.java:95) {code} When I attach a debugger to the Jenkins server it seems to get stuck here: [https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/cli/CLIAction.java#L255] |
Testing CLI, agent connections with the new '-websocket' functionality added by [JEP-222|https://github.com/jenkinsci/jep/blob/master/jep/222/README.adoc]. Jetty access log shows: {code:java} 172.18.0.3 - - [25/Feb/2020:01:48:06 +0000] "GET /cli/ws HTTP/1.1" 101 0 "-" "-" {code} CLI output: {code:java} javax.websocket.DeploymentException: Handshake response not received. at org.glassfish.tyrus.client.ClientManager$3$1.run(ClientManager.java:694) at org.glassfish.tyrus.client.ClientManager$3.run(ClientManager.java:712) ... at org.glassfish.tyrus.client.ClientManager$SameThreadExecutorService.execute(ClientManager.java:866) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) at org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:511) at org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:355) at hudson.cli.CLI.webSocketConnection(CLI.java:323) at hudson.cli.CLI._main(CLI.java:301) at hudson.cli.CLI.main(CLI.java:95) {code} When I attach a debugger to the Jenkins server it seems to get stuck here: [https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/cli/CLIAction.java#L255] |
Summary | CLI, Agent -websockets hangs, then DeploymentException: Handshake response not received | CLI, Agent -websockets DeploymentException: Handshake response not received |
Assignee | Jesse Glick [ jglick ] |
Comment | [ [https://github.com/jenkinsci/jenkins/pull/4526] - my draft. It is a bit different from what Jesse suggested ] |
Summary | CLI, Agent -websockets DeploymentException: Handshake response not received | CLI, Agent -websockets DeploymentException: Handshake response not received on jdk-11 |
Labels | java11-compatibility |
Link |
This issue relates to |
Assignee | Jesse Glick [ jglick ] |
Attachment | image-2020-03-02-09-30-13-234.png [ 50519 ] | |
Attachment | Screen Shot 2020-03-02 at 09.29.02.png [ 50520 ] |
Labels | java11-compatibility | java11-compatibility triaged |
Labels | java11-compatibility triaged | java11-compatibility triaged websocket |
Link |
This issue is duplicated by |
Link |
This issue is duplicated by |
Released As | 2.313 |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |
Status | Reopened [ 4 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Environment | jdk11, Docker Jenkins 2.222 https |
Component/s | remoting [ 15489 ] |
Labels | java11-compatibility triaged websocket | java11-compatibility remoting triaged websocket |
Released As | 2.313 | 2.317 |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Fixed but Unreleased [ 10203 ] |
Status | Fixed but Unreleased [ 10203 ] | Closed [ 6 ] |
Link |
This issue is duplicated by |
Link |
This issue is duplicated by |
Link |
This issue relates to |
Link |
This issue is duplicated by |
CC jglick