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

Connection to AWS ECA Slave Get Disconnected Intermittently

    XMLWordPrintable

Details

    Description

      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.   

       

       

      Attachments

        Activity

          Reassigning to ecs plugin

          raihaan 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

          arthurulfeldt 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

          People

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

            Dates

              Created:
              Updated: