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

DownloadBundle deployment lifecycle events for troubleshooting UnknownError: execution expired #383

Open
EthanTang-Zq opened this issue Nov 10, 2023 · 4 comments

Comments

@EthanTang-Zq
Copy link

here is no error message in codedeploy-agent.aws_wire.log. Codedeploy can sometimes be deployed successfully, but most of them fail this time. At first, I thought it was an S3 access problem because I set the aws security group outbound traffic limit for the instance. But I opened the outbound traffic to S3. When I opened all outbound traffic of 443 and 80, this error still appeared. Is there any other way to fix this error?

@a-jackson
Copy link

@tangzhiqiangh did you ever find a solution to this? We've started getting it today in ~50% of deploys

@nassercarlos19
Copy link

nassercarlos19 commented Nov 15, 2024

A similar error, any update? Sometimes, it works; other times, it fails, but always at the DownloadBundle step.

Please help! :(

@a-jackson @tangzhiqiangh

@a-jackson
Copy link

@nassercarlos19 we found that when new instances came online sometimes the code deploy agent would not start and therefore the deployment would fail. I added a scheduled task to our image that runs every 5 minutes to check the service is running and start it if it isn't.

We only have this on our Windows image, Linux never had the same issues.

@nassercarlos19
Copy link

nassercarlos19 commented Nov 16, 2024

Thanks, @a-jackson. In my case, the agent is always running, but for some reason, after downloading the bundle, I see the agent stopping and starting again. After this restart, it gets stuck until it time out after 1 hour and 10 minutes.

This is a random issue; sometimes it works, and sometimes fails.

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

3 participants