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.