跳至內容

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 年前檢視次數 488 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。