-
Notifications
You must be signed in to change notification settings - Fork 13
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
Panic in internal.(*ExecCommand).Start
when -c
flag is not specified
#21
Comments
Hey @j-boivie thanks for raising this! I'm currently on vacation so will look at this when I get back next week 😄 In the meantime could you provide some details to help troubleshoot such as:
Thanks again! |
Hi, Sorry for the late response, from my testing I've noticed that this happens on every task I connect to, no matter names, number of containers in the task etc. I've tested this across two different AWS accounts as well. The only thing I can think of is that all of the ECS resources typically have hyphens in the name, and that they all run some variant of debian:-slim or python:-slim as base image. Another thing I noticed is that the tool doesn't return a list of all services on the cluster, although I can see all tasks when selecting Lines 123 to 126 in 95178ae
But I can raise another issue for that if needed. |
@j-boivie No problem! Thanks for the additional info. Based on the error message it looks like this is the offending line: Line 264 in 95178ae
Would I be right in assuming these tasks are running on an EC2-backed ECS cluster? I suspect that the RE: Pagination you're absolutely right, I've not implemented this yet embarrassingly, it has been on my todo for too long 😓 If you could raise a new issue for this that'd be great! |
…roperty for tasks of ec2 launch type
You're absolutely right, somehow I had forgotten that Fargate was a thing... 😅, but that seems reasonable.
Roger that, will create a new issue 👍 |
…latformFamily to prevent nil reference
Hi!
I've been testing this tool but ran into an issue. When I run the tool I can navigate to a task that has ECS exec enabled, but when I select the container to exec into the program panics like this:
I'm able to work around this by manually specifying the shell to run like
ecsgo -c /bin/sh
, which according to the README should be the default command.The text was updated successfully, but these errors were encountered: