Script at specified location: scripts/deploy-validate failed to complete in 300 seconds
The message from CodeDeploy>>Deployments:
“The overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems.”
scripts/deploy-validate
Script at specified location: scripts/deploy-validate failed to complete in 300 seconds [View more.]
Update:
I deleted the Solo instance as per the documentation, and re-created it this morning: Still the Deploy is failing…
Planning to create a new AWS account, and try again. Will update the result here…
Update:
Code Deploy failed again with the new AWS account. The errorcode is the same.
“The overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems.”
“Error code - ScriptTimedOut
Script name - scripts/deploy-validate
Message - Script at specified location: scripts/deploy-validate failed to complete in 300 seconds”
Hi, not sure if I can offer you a solution, but I had the same experience the other day and maybe it helps.
I was trying trying to set up lacinia on Datomic Solo, together with hodur and everything that goes with it. Everything was working fine and then after some minor code changes, deploys kept failing. In the end, it was a quirk with enums that threw an exception internally but triggered the timeout in the end and was registered as the error you stated above (“The overall deployment failed because too…”).
To sum it all up - do you have an earlier revision you can try to deploy and see if it succeeds? My guess is that some other part of the code is failing and it ends up being caught as a timeout
I can confirm that you will get a deploy-status of failed if there is an issue with the application itself. I didn’t track down the error message pertaining to it, but was able to fix it and redeploy and get a success.