Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot lookup ***.dkr.ecr.us-west-2.amazonaws.com: no such host #475

Open
barrowkwan opened this issue Jul 16, 2023 · 0 comments
Open

Cannot lookup ***.dkr.ecr.us-west-2.amazonaws.com: no such host #475

barrowkwan opened this issue Jul 16, 2023 · 0 comments

Comments

@barrowkwan
Copy link

Describe the bug
The issue is not consistent but once a while we will see this error

Logging into registry ***.dkr.ecr.us-west-2.amazonaws.com
Error: Could not login to registry ***.dkr.ecr.us-west-2.amazonaws.com: WARNING! Using -*** the CLI is insecure. Use --password-stdin.
Error response from daemon: Get "https://***.dir.ecr.us-west-2.amazonaws.com/v2/": dial tcp: lookup ***.dkr.ecr.us-west-2.amazonaws.com: no such host

I have verified when this github action happened, the DNS lookup is fine on the machine. ( to troubleshoot this, I have a background job to run every 2 seconds to do dns lookup with dig ).

To Reproduce
Steps to reproduce the behavior:

  1. use amazon-erc-login in github workflow

Expected behavior
No DNS error ( or the Action should retry )

Screenshots
n/a

Desktop (please complete the following information):

  • OS: NixOS
  • Version 22.01

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant