aws-genai-llm-chatbot icon indicating copy to clipboard operation
aws-genai-llm-chatbot copied to clipboard

Deploying to some regions (e.g af-south-1) fails due to unsupported S3 bucket transfer acceleration

Open eldimi opened this issue 1 year ago • 1 comments

Observed behavior: Trying to deploy in af-south-1 fails with the following error

CREATE_FAILED        | AWS::S3::Bucket                                 | ChatBotApi/ChatBuckets/FilesBucket
Resource handler returned message: "The specified method is not allowed against this resource. (Service: S3, Status Code: 405, Request ID: C00J
F9WW28XZJXGB, Extended Request ID: IdWiRUR5nSHM6c0jGCITzb8vbMsi/ABokNEfZGplK2XJ8I0k3ZbTgsPxC6qZW2gFT6ABqMoQ5pE=)" (RequestToken: 6e181d3e-5e49-
bb5b-67d8-38bc69a50646, HandlerErrorCode: GeneralServiceException)

Root cause: Transfer acceleration is not supported in some regions . There is a workaround to set transferAcceleration to false for filesBucket in \lib\chatbot-api\chatbot-s3-buckets\index.ts.

To resolve this permanently, an would be to add this to the advanced setting in config.

eldimi avatar Jul 19 '24 07:07 eldimi

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Sep 18 '24 02:09 github-actions[bot]

This issue was closed because it has been inactive for 30 days since being marked as stale.

github-actions[bot] avatar Oct 18 '24 02:10 github-actions[bot]