Hey folks! I'm deploying to an ECS Cluster within ...
# aws
s
Hey folks! I'm deploying to an ECS Cluster within a Private Subnet. To communicate with my ECR I've set up private links (endpoints) as you can see below. Everything was working properly, then I got this random error
Copy code
ResourceInitializationError: unable to pull secrets or registry auth: execution resource retrieval failed: unable to retrieve ecr registry auth: service call has been retried 5 time(s): RequestError: send request failed caused by: Post <https://api.ecr.us-east-2.amazonaws.com/>: dial tcp: lookup <http://api.ecr.us-east-2.amazonaws.com|api.ecr.us-east-2.amazonaws.com> on 10.0.0.2:53: no such host
Any clue what's going on?
@witty-candle-66007 👀
w
Looks like a networking error. The
<http://api.ecr.us-east-2.amazonaws.com|api.ecr.us-east-2.amazonaws.com>
endpoint is not reachable.
b
@straight-laptop-81153 this looks like a DNS resolution error.
s
How it could be fixed?
I tried to pulumi destroy and re-provision everything -> Same result
@billowy-army-68599
b
Unfortunately it could be a wide range of things. You'll need to follow the network path from your workload to your dns server
😯 1
s
I fixed the problem by disabling the private DNS on the different endpoints I have
🤷🏻‍♂️
636 Views