Skip to content
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] [request]: Unable to use ECS Exec on restarted containers #2469

Open
an-hato opened this issue Nov 8, 2024 · 0 comments
Open

[ECS] [request]: Unable to use ECS Exec on restarted containers #2469

an-hato opened this issue Nov 8, 2024 · 0 comments
Assignees
Labels
ECS Amazon Elastic Container Service Proposed Community submitted issue

Comments

@an-hato
Copy link

an-hato commented Nov 8, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request
Unable to use ECS Exec on containers restarted by container restart policy

Which service(s) is this request for?
ECS

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
When attempting to use ECS Exec on containers that have been restarted by the container restart policy, connection fails with a TargetNotConnectedException.
The connection is successful if the task is recreated.

Are you currently working around this issue?
No, there is no way to connect to restarted containers.

Additional context
There is related documentation available at the following link:

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-restart-policy.html
https://blog.serverworks.co.jp/container_restart#%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A0%85

Attachments
No attachments are included.

@an-hato an-hato added the Proposed Community submitted issue label Nov 8, 2024
@jenmlinaws jenmlinaws added the ECS Amazon Elastic Container Service label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ECS Amazon Elastic Container Service Proposed Community submitted issue
Projects
None yet
Development

No branches or pull requests

3 participants