You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been banging my head against the wall for a while because of this issue.
If the runner doesn't have ecs:DescribeTasks permissions, the action errors out with a timeout on the Start timer.
I suppose it's because the waiter is intended to hide exceptions so that if it can't reach to check for the state it simply keeps trying until the timeout happens. The error message you get is: Task did not start successfully. Error: {"state":"TIMEOUT","reason":"Waiter has timed out"}. even when the task runs nicely and finishes.
I checked the code and saw you are using a command by the aws sdk. So digging a bit I figured this could be the issue.
In case you can't do much to fix this on your side, it would be great for the next person if you could add this behavior to the documentation.
Thank you very much for your work!
Mmuarc
PS: On a side note, the marketplace documentation is not updated with the latest version and some property names aren't aligned.
The text was updated successfully, but these errors were encountered:
mmuarc
changed the title
Misleading error message on waiting for task to finish if the runner doesn't have permissions ecs:DescribeTasks
Misleading error message on waiting for task to start if the runner doesn't have permissions ecs:DescribeTasks
Mar 11, 2025
Hello,
I've been banging my head against the wall for a while because of this issue.
If the runner doesn't have ecs:DescribeTasks permissions, the action errors out with a timeout on the Start timer.
I suppose it's because the waiter is intended to hide exceptions so that if it can't reach to check for the state it simply keeps trying until the timeout happens. The error message you get is:
Task did not start successfully. Error: {"state":"TIMEOUT","reason":"Waiter has timed out"}.
even when the task runs nicely and finishes.I checked the code and saw you are using a command by the aws sdk. So digging a bit I figured this could be the issue.
In case you can't do much to fix this on your side, it would be great for the next person if you could add this behavior to the documentation.
Thank you very much for your work!
Mmuarc
PS: On a side note, the marketplace documentation is not updated with the latest version and some property names aren't aligned.
The text was updated successfully, but these errors were encountered: