Tomas Knoetze

04/03/2023, 5:59 PM
Hi, I wonder if anyone has insights into an intermittent issue I've been encountering. I'm scheduling flow runs on ECS Fargate. The majority of the time they run successfully, however they occasionally fail with this error:
State message: Submission failed. RuntimeError: Timed out after 120.73846864700317s while watching task for status {until_status or 'STOPPED'}
Is this a known issue? Any ideas how to prevent this, or at least retry the flow run in the case of an intermittent error like this?

Sahil Rangwala

04/04/2023, 4:59 PM
I would recommend using environment variables to mitigate the issues experienced client side or any server side rate limiting issues
🙌 1

Tomas Knoetze

04/05/2023, 1:08 PM
Thanks @Sahil Rangwala Should I add these to the Dockerfile?
Oh I see it says:
Those environment variables must be added within the agent environment