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

ResourceInitializationError - Migration for Fargate 1.3.0 to 1.4.0 #74

Open
jbanahan opened this issue Jun 23, 2024 · 1 comment
Open

Comments

@jbanahan
Copy link

jbanahan commented Jun 23, 2024

I tried to redeploy this recently and got the following error below when bringing up the instance.
Screenshot from 2024-06-23 12-09-03

ResourceInitializationError: unable to pull secrets or registry auth: execution resource retrieval failed: unable to retrieve ecr registry auth: service call has been retried 3 time(s): RequestError: send request failed caused by: Post "https://api.ecr.us-east-2.amazonaws.com/": dial tcp [ANIPADDRESSIDONTWANTTOSHARE]: i/o timeout. Please check your task network configuration.

Steps to reproduce:

  1. build and deploy following README
  2. attempt to connect with Minecraft client
  3. Monitor task for bringing container up as failure will not give other indication

From this post it seems to be a change in Fargate and there is a solution described below.
https://stackoverflow.com/questions/61265108/aws-ecs-fargate-resourceinitializationerror-unable-to-pull-secrets-or-registry

I'll Try to get a PR open if I make any progress, but figured I'd open an issue to get the problem out there first.

@jbanahan
Copy link
Author

Running AWSSupport-TroubleshootECSTaskFailedToStart hangs on the networking portion. This maybe possible something weird about my setup, but also maybe confirms the above. 🤷

image

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