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

Connection to AWS ECA Slave Get Disconnected Intermittently

      We are using "Amazon EC2 Container Service" plugin to connect to create EC2 slaves in AWS ECS cluster and we are facing JNLP connection issues.  

      When the connection to the slave is lost we get the below error and job just gets stuck. 
      Cannot contact ecs-1jpjd: hudson.remoting.ChannelClosedException: Channel "unknown": Remote call on JNLP4-connect connection from ip-<IP>.ap-southeast-2.compute.internal/<IP>:56052 failed. The channel is closing down or has closed down

      This happens not just in one pipeline and is across all the pipelines in our jenkins environment.   

       

       

          [JENKINS-58524] Connection to AWS ECA Slave Get Disconnected Intermittently

          Reassigning to ecs plugin

          Raihaan Shouhell added a comment - Reassigning to ecs plugin

          The ECS task logs don't show anything after the connection.

           


          20:42:12
          INFO: Trying protocol: JNLP4-connect

          20:42:12
          20:42:12.658 INFO [SeNNNNNNNNNNNNn port NNNN

          20:42:12
          Aug 12, 2019 8:42:12 PM hudson.remoting.jnlp.Main$CuiListener status

          20:42:12
          INFO: Remote identity confirmed: eb:16:eNNNNNNN:2e

          20:42:13
          Aug 12, 2019 8:42:13 PM hudson.remoting.jnlp.Main$CuiListener status

          20:42:13
          INFO: Connected

          arthur ulfeldt added a comment - The ECS task logs don't show anything after the connection.    20:42:12 INFO: Trying protocol: JNLP4-connect  20:42:12 20:42:12.658 INFO [SeNNNNNNNNNNNNn port NNNN  20:42:12 Aug 12, 2019 8:42:12 PM hudson.remoting.jnlp.Main$CuiListener status  20:42:12 INFO: Remote identity confirmed: eb:16:eNNNNNNN:2e  20:42:13 Aug 12, 2019 8:42:13 PM hudson.remoting.jnlp.Main$CuiListener status  20:42:13 INFO: Connected

            roehrijn2 Jan Roehrich
            deepumohan deepumohan mohanakumar
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: