-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ECS execute-command failed due to an internal error. #47
Comments
Hi, @nic-russo! Thank you for reaching out to us here. In general Supposing there is no bug in the exec checker script itself, could you possible check/try the following?
Also it would be helpful to debug this issue since there is known limitations in the exec checker script:
(Comment updated since it looks your IAM user was at least already able to call ExecuteCommand API) |
Hi @toricls, thanks for your support! I went through your list:
5 . I see 2 events in cloudtrail:
6 . The task role has the |
any movement on this issue? |
Following, having the same issue. A little additional info: We manage our infra with terraform and have ~8 identical deployments with literally no variation besides names and we're seeing this issue intermittently on random deployments. |
I'm also apparently experiencing this error intermittently. I am managing my infra via terraform as well. Despite rolling back to previous topolagies, I'm still seeing this on tasks from some services and not others. |
I am facing the same issue. |
Same issue here as of yesterday |
This looks related to #49. Please check if you have the environment variables |
I had the same issue as well and as mentioned by @tim-finnigan, changing some ENV vars called AWS_ACCESS_KEY / AWS_SECRET_ACCESS_KEY to different variable names ended up solving the issue for us a well. |
I was experiencing this same issue but found a fix. Initially made sure:
Solution: The AMI that did not allow for execute command:
Updated to this AMI which does allow for execute command:
(Which is currently latest via https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) |
Hey, I was able to resolve this issue by following I found this log:
I removed the ssmmessages VPC endpoint, and |
Hi there, I'm trying to run
execute-command
to open an interactive shell against my ECS Fargate task. I'm using this checker to validate my configuration:However, I'm getting
TargetNotConnectedException
. I've also opened an issue here.Am I missing something..?
The text was updated successfully, but these errors were encountered: