https://pulumi.com logo
#aws
Title
# aws
s

straight-laptop-81153

06/17/2022, 5:13 PM
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

witty-candle-66007

06/17/2022, 5:17 PM
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

billowy-army-68599

06/17/2022, 5:19 PM
@straight-laptop-81153 this looks like a DNS resolution error.
s

straight-laptop-81153

06/17/2022, 8:51 PM
How it could be fixed?
I tried to pulumi destroy and re-provision everything -> Same result
@billowy-army-68599
b

billowy-army-68599

06/17/2022, 9:10 PM
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

straight-laptop-81153

06/17/2022, 10:01 PM
I fixed the problem by disabling the private DNS on the different endpoints I have
🤷🏻‍♂️
565 Views