ECS: AWS CLI가 실패하고 "Missing required header for this request: 콘텐츠-MD5"

摘要: Amazon Web Services CLI 버전 2.23.0 이후 특정 작업에 대해 오류가 보고됩니다. 그 이유는 새로운 체크섬 알고리즘을 사용하기 때문입니다.

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

症狀

AWS CLI 2.23.0 이상 버전 사용(예: PutBucketLifecycleConfiguration 또는 PutBucketReplication ECS에 대해 다음과 같은 오류가 발생합니다.

"An error occurred (InvalidRequest) when calling the PutBucketLifecycleConfiguration operation: Missing required header for this request: Content-MD5"

예:

aws --version
aws-cli/2.24.1 Python/3.12.6 Linux/5.15.167.4-microsoft-standard-WSL2 exe/x86_64.ubuntu.24

aws --profile=Gen3 --endpoint-url=http://X.X.X.X:9020 s3api put-bucket-lifecycle-configuration --bucket bkt_01 --lifecycle-configuration file://lifecycle_01.json

An error occurred (InvalidRequest) when calling the PutBucketLifecycleConfiguration operation: Missing required header for this request: Content-MD5

原因

AWS CLI 2.23.0(및 이후 버전)의 변경 사항은 기본적으로 S3 작업에 새로운 체크섬 알고리즘을 사용합니다. 
AWS CLI는 이제 x-amz-sdk-checksum-algorithm: CRC64NVME

解析度

버전 2.23.0 이전의 AWS CLI 버전 또는 다른 S3 클라이언트를 사용합니다. ECS CRC64NVME 지원은 향후 릴리스에서 제공될 예정입니다.

受影響的產品

ECS, ECS Appliance, ECS Appliance Hardware Series, ECS Appliance Software with Encryption, ECS Appliance Software without Encryption
文章屬性
文章編號: 000299507
文章類型: Solution
上次修改時間: 11 11月 2025
版本:  3
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。