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

Remoting using WebSocket fails with "Handshake response not received" Exception

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • remoting
    • None
    • - Remoting v4.2
      - AdoptOpenJDK v11.0.5 (Windows 10)
      - Jenkins v2.204.2
    • Jenkins v2.222.1 / Remoting v4.2

    Description

      Using remoting v4.2 with WebSocket crashes after ~ 30 seconds with a "Handshake response not received" exception:
       

      io.jenkins.remoting.shaded.org.glassfish.tyrus.client.ClientManager <init>
      CONFIG: Provider class loaded: io.jenkins.remoting.shaded.org.glassfish.tyrus.container.jdk.client.JdkClientContainer
      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:624)
      	at hudson.remoting.Engine.run(Engine.java:469)
      

       

      Remoting is launched through hudson.remoting.jnlp.Main.main() with arguments: 

      [<Secret ID>, <Agent>, -url, https://<Master Host>:<Port>/, -webSocket, -workDir, <WorkDir Path> -headless, -noreconnect]

      Attachments

        Issue Links

          Activity

            ethorsa ethorsa created issue -
            ethorsa ethorsa made changes -
            Field Original Value New Value
            Link This issue relates to JENKINS-61212 [ JENKINS-61212 ]
            ethorsa ethorsa made changes -
            Link This issue relates to JENKINS-22877 [ JENKINS-22877 ]
            ethorsa ethorsa made changes -
            Environment - Remoting v4.2
            - AdoptOpenJDK v11.0.5 (Windows 10)
            - Jenkins v2.204.2
            - Remoting v4.2
            - AdoptOpenJDK v11.0.5, Oracle Java v1.8.0-181 (Windows 10)
            - Jenkins v2.204.2
            ethorsa ethorsa made changes -
            Environment - Remoting v4.2
            - AdoptOpenJDK v11.0.5, Oracle Java v1.8.0-181 (Windows 10)
            - Jenkins v2.204.2
            - Remoting v4.2
            - AdoptOpenJDK v11.0.5 (Windows 10)
            - Jenkins v2.204.2
            jthompson Jeff Thompson made changes -
            Resolution Not A Defect [ 7 ]
            Status Open [ 1 ] Closed [ 6 ]
            ethorsa ethorsa made changes -
            Resolution Not A Defect [ 7 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            ethorsa ethorsa made changes -
            Released As Jenkins v2.222.1 / Remoting v4.2
            Resolution Fixed [ 1 ]
            Status Reopened [ 4 ] Fixed but Unreleased [ 10203 ]
            ethorsa ethorsa made changes -
            Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]
            jglick Jesse Glick made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-61409 [ JENKINS-61409 ]
            jglick Jesse Glick made changes -
            Resolution Won't Fix [ 2 ]
            Status Reopened [ 4 ] Resolved [ 5 ]
            basil Basil Crow made changes -
            Link This issue relates to JENKINS-61212 [ JENKINS-61212 ]
            basil Basil Crow made changes -
            Assignee Jeff Thompson [ jthompson ]
            Resolution Won't Fix [ 2 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            basil Basil Crow made changes -
            Link This issue duplicates JENKINS-61212 [ JENKINS-61212 ]
            basil Basil Crow made changes -
            Resolution Duplicate [ 3 ]
            Status Reopened [ 4 ] Closed [ 6 ]

            People

              Unassigned Unassigned
              ethorsa ethorsa
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: