跳至内容

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.

已提问 3 年前487 查看次数
1 回答
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
已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。