Passer au contenu

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.

demandé il y a 3 ans487 vues
1 réponse
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
répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.