AWS CDK fails to deploy to regions such as Cape Town(af-south-1) and Sanpro(sa-east-1) #29250
-
I am working in Japan. When I cdk deploy to the regions of Cape Town, Africa(af-south-1) or Sao Paulo, South America(sa-east-1), I get an error "Failed to publish asset ..." and it fails.
It seems that a Socket connection timeout occurs and fails in listObjectsV2 and getBucketLocation for the bucket created by cdk bootstrap, but no failures occur when executing the AWS CLI command s3api. AWS CDK 2.130.0 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Turns out to be a bug in Node.js v20. The solution is to upgrade the Node version to 20.3.0 or higher. Getting Error [ERR_SOCKET_CONNECTION_TIMEOUT]: Socket connection timeout on @aws-sdk/client-s3 |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Turns out to be a bug in Node.js v20. The solution is to upgrade the Node version to 20.3.0 or higher.
Getting Error [ERR_SOCKET_CONNECTION_TIMEOUT]: Socket connection timeout on @aws-sdk/client-s3
nodejs/node#47822