Does anyone else have trouble downloading the RDS CA Bundle file from S3 on a CodeBuild job?

0

We have a CodeBuild jobs that connect to our RDS databases using TLS. For that we need to grab the AWS RDS CA Bundle file, which we download using curl.

curl https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem --create-dirs -o $MYSQL_SSLCA

Everything works fine most of the time, but every once in a while we get a SSL_ERROR_ZERO_RETURN error after it tried to download the file for 60 seconds. If we rerun the job everything works fine.

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
....
  0     0    0     0    0     0      0      0 --:--:--  0:00:52 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:53 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:53 --:--:--     0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_ZERO_RETURN in connection to s3.amazonaws.com:443 

My question is, why is this happening? I was under the impression that S3 was more robust than this. Is there some problem with this request? Is anyone else seeing this problem? We're not even running that many CodeBuild jobs. maybe 100 / week, and I've seen this problem enough to recognize it.

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠