Skip to content

AWS CodeBuild - DOWNLOAD_SOURCE Error

0

Hello -

CLIENT_ERROR: Get "git-codecommit.us-east-2.amazonaws.com/v1/repos/unicorn-web-project/info/refs?service=git-upload-pack": dial tcp 52.95.19.19:443: i/o timeout for primary source and source version refs/heads/main

VPC - NAT in Public Subnet - SecurityGroupDefault - used public subnet for codebuild. Git clone depth = 1 Please advise.

asked 3 years ago481 views
1 Answer
1

Hello,

I hope you're doing well! I understand that you encountered an i/o timeout issue during the DOWNLOAD_SOURCE phase in your CodeBuild project.

You mentioned that you are using VPC-NAT in a public subnet. It is important to note that for CodeBuild projects accessing your VPC, you should choose private subnets. You can find more information about this in the documentation.

    When setting up your CodeBuild projects to access your VPC, make sure to select private subnets only.

Please switch to a private subnet and try again.

AWS
answered 3 years ago

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.