Skip to content

Codestar deployment issues: Failed to connect to https://codestar.us-west-2.amazonaws.com:443 after 2 attempts

1

I started getting this error in all my deployment pipelines: AWS CodeStar encountered an error while handling your request: Failed to connect to https://codestar.us-west-2.amazonaws.com:443 after 2 attempts. Try again with different parameters, or contact AWS Support. This is only in the deploy stage, all other stages like Source and Build run ok.

Nothing meaningful in cloudformation or cloudtrail logs and also, nothing has changed in our cfn code. Has Somebody faced this same error?

Started failing in Aug 23th Enter image description here

asked a year ago499 views
2 Answers
2
Accepted Answer

Hi, we have encountered the same problem since August 22

We resolved the problem by removing the "AWS::CodeStar" line from the "Transform" section of our CloudFormation template.

(We also deleted all the stacks before restarting the pipeline after this change. Not sure if that was really necessary.)

answered a year ago
EXPERT
reviewed a year ago
  • It worked!, thank you!

0

Check the IAM permissions of the role associated with the CodePipeline and CodeBuild resources.

Ensure that the role has the necessary permissions to access the required AWS services, such as CodeStar, CodePipeline, and CodeBuild.

Navigate to the AWS CodePipeline console and locate the failed pipeline. Review the pipeline stage details and the associated CodeBuild project logs for any error messages or clues about the failure.

AWS
EXPERT
answered a year ago
  • I already tested IAM permissions by adding AdministratorAcess Policy just as a quick review, but the same error in cloudformation persist. Deploy stage consist in run a cloudformation template and fails updating resources with the error mentioned in the title.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.