Code Build often fails at DOWNLOAD_SOURCE phase

0

Hello Team,

Our code build has been working all fine till now and works fine even now but sometimes we have to release the pipeline 5-6 times for that to work as it often fails at DOWNLOAD_SOURCE phase with the following error.

CLIENT_ERROR: RequestError: send request failed caused by: Get "https://codepipeline-us-east-1-12345.s3.amazonaws.com/test/SourceArti/zzz": dial tcp 70.6.198.631:333: i/o timeout for primary source and source version arn:aws:s3:::codepipeline-us-east-1-12345/test/SourceArti/zzz

We are using aws/codebuild/standard:6.0 image for Code Build project, and did not do any modifications.

Could you please check on this and provide any insights on the same?

Thanks, Veena

asked 6 months ago393 views
2 Answers
0

Hi, did you check the timeout in the codebuild project?

profile picture
answered 6 months ago
  • Yes, I did check the timeout in codebuild and its set to 1 Hour. If I release the pipeline 5-6 times then it will work.

0

It was issue with NAT gateway was deployed in the private gateway and I recreated NAT in public subnet and it worked.

answered 5 months 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.

Guidelines for Answering Questions