如果密钥包含特殊字符,则 ONTAP S3 PUT 将失败
适用场景
ONTAP S3
问题描述
- ONTAP S3 服务器响应时出现错误
404 Bad Request
- 在 AWS 客户端中,我们可能会看到以下内容:
~/test$ aws s3 cp ./file-test.txt s3://bucket-test --endpoint-url https://my.url --ca-bundle ./my-cert.pem
upload:
./file-test.txt to s3://bucket-test/file-test.txt
~/test$ aws s3 cp ./file:test.txt s3://bucket-test --endpoint-url
https://my.url --ca-bundle ./my-cert.pem
upload failed: ./file:test.txt to s3://bucket-test/file:test.txt
An error occurred (InternalError) when calling the PutObject operation: We encountered an internal error. Please try again.