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

Garden crashes due to getaddrinfo ENOTFOUND #5323

Closed
shumailxyz opened this issue Oct 31, 2023 · 2 comments
Closed

Garden crashes due to getaddrinfo ENOTFOUND #5323

shumailxyz opened this issue Oct 31, 2023 · 2 comments

Comments

@shumailxyz
Copy link
Contributor

Crash report

Garden crashes due to a temporary network error.

Error message

✖ deploy.frontend      → Failed processing Deploy type=container name=frontend (from module frontend) (took 3.72 sec). This is what happened:

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Encountered an unexpected Garden error. This is likely a bug 🍂

Please attach the following information to the bug report after making sure that the error message does not contain sensitive information:

Failed processing Deploy type=container name=frontend (from module frontend) (took 3.72 sec). This is what happened:
Error: getaddrinfo ENOTFOUND xxxxxxxx.eu-central-1.eks.amazonaws.com
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:84:26)
    at GetAddrInfoReqWrap.callbackTrampoline (node:internal/async_hooks:130:17)
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

toKubernetesError encountered an unknown error unexpectedly during Kubernetes API: readNamespacedSecret: toKubernetesError encountered an unknown error unexpectedly during readNamespacedSecret: getaddrinfo ENOTFOUND xxxxxxxx.eu-central-1.eks.amazonaws.com

What did you do?

ran deploy

Your environment

  • OS:
  • How I'm running Kubernetes:
  • Garden version:

Frequency

Workaround

Run the command again.

@shumailxyz
Copy link
Contributor Author

One suggestion would be to catch errors like getaddrinfo ENOTFOUND and add retries. Often, retrying is sufficient to address transient network issues.

@shumailxyz
Copy link
Contributor Author

Closing in favor of #5217

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

No branches or pull requests

1 participant