Hello.
I set up several Fargate services in one cluster several days ago, and it worked like a charm.
But suddenly several days ago half of the services are down, because of the next error
CannotPullContainerError: API error (500): Get https://xxx.dkr.ecr.us-east-1.amazonaws.com/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
I suppose no modifications were done, but I tried to investigate the problem and checked all possible solutions, which are suggested here
https://github.com/aws/amazon-ecs-agent/issues/1128
And all suggested solutions are met in my environment:
Did something is changed during last few days or some problems on Amazon appear?
The problem was with routing table. The answer is
@smuryginim I am facing a similar issue. My subnet is private with route table entry 0.0.0.0/0 to nat gateway and security group allows all outbound traffic. But I still cannot pull images. Do security group's inbound rules matter?
Most helpful comment
The problem was with routing table. The answer is