AWS Lambda connection timing out

When we make a call to AWS Lambda using the awscli during the development stage we sometimes get a timeout error. We don’t get this error when running the command locally, only in the circleci environment.

The error we get is
HTTPSConnectionPool(host='', port=443): Read timed out. (read timeout=60)

We tried upgrading the awscli as part of the machine: pre stage and still got that error. We finally resolved it by adding --cli-connect-timeout 180 to the command.

Why are we getting this timeout error in circleci?


1 Like

Same error here