one of the recurring issues i have with prefect is...
# ask-community
m
one of the recurring issues i have with prefect is that things often seem to fail for no reason, and frequently with absolutely no context. i restarted this flow a minute later with no changes at all, and it ran successfully. are there any recommendations about handling these situations?
k
Hey @Martim Lobao this sounds like ECS is just failing to start. Do you have CloudWatch logs enabled for this?
m
unfortunately our cloudwatch logs don’t offer any more context either
that warning is unrelated, it’s also present on successful runs
k
What is your launch type and do you use Dask? Do you use spot instances?
m
yes, we’re using
LocalDaskExecutor
and fargate
k
LocalDask should not be a problem. Sometimes, spinning up a Dask cluster fails. I think the issue here is Fargate. Could you see if these debugging methods help or give any insight? I think you are looking at task logs, but maybe we can look for container logs
👍 1
m
unfortunately the agent’s logs provide even less details
k
Do you have anything under Details for the Flow container?