Hi! I’m trying to configure n8n in AWS using ECS Fargate.
My problem is to solve the health-check.
Can you help me to solve this? Thanks in advance.
What is the error message (if any)?
service [n8n] (port 8080) is unhealthy in target-group [n8n-tg]) due to (reason Health checks failed).
netroy
2
Can you please share more of your task-definition? I suspect that there is some configuration issue here.
1 Like
Hi Netroy, Thank you for you answer.
Here is my task definition. i have change the port again and using 5678.
I have the same issue.
Any solution for the issue?
Jon
5
Hey @bluetinkwok,
Welcome to the community 
What is the issue you are seeing and what are you trying?
@guiarjones Can you please try these:
- Set
ContainerDefinitions[].HealthCheck
on the TaskDefinition
as
- CMD-SHELL
- exit 0
- On the ELB/ALB TargetGroup, set
HealthCheckPath
to /healthz
and HealthCheckProtocol
to HTTP