Hi folks, I had an agent running on ECS Fargate. I...
# prefect-community
a
Hi folks, I had an agent running on ECS Fargate. It was running fine till yesterday. The logs also seem fine. But somehow the agent status is
Unhealthy
for that work-queue & pool and I don't know why. And my flows are stuck in a
Late
status. Can anybody suggest a way to fix this? logs are fine:
Copy code
___ ___ ___ ___ ___ ___ _____     _   ___ ___ _  _ _____
 | _ \ _ \ __| __| __/ __|_   _|   /_\ / __| __| \| |_   _|
 |  _/   / _|| _|| _| (__  | |    / _ \ (_ | _|| .` | | |
 |_| |_|_\___|_| |___\___| |_|   /_/ \_\___|___|_|\_| |_|
Agent started! Looking for work from work pool 'dev-work-pool'...
Okay this is solved. The status changed to
Healthy
now.
c
Hey Abhisheck. I am facing the same issue. What did you do to solve this issue?
a
If the agent logs are good and look like above, you should see a
Healthy
status by now. (Assuming you're trying to deploy an agent in ECS Fargate) You can try to : • mention work queue and work pool in the command while deploying agent
prefect agent start --pool work-pool --work-queue work-queue
• check if correct
PREFECT_API_URL
value is passed to task_definition • set variable
PREFECT_API_ENABLE_HTTP2=False