Cache doesn't work with AWS S3 if using Express One-Zone Endpoints
I am getting an issue very similar to #29112 (closed) but for the One-Zone Express endpoint s3express-eun1-az2.eu-north-1.amazonaws.com
. The error is as follows:
Error parsing the X-Amz-Credential parameter; the region 'xpress-eun1-az2.eu-north-1' is wrong; expecting 'us-east-1'
It is trying to upload to the endpoint at bucket-name.s3.dualstack.us-east-1.amazonaws.com
, which appears to be in the wrong zone. If I manually presign a URL, it gives me a host bucket-name.s3express-eun1-az2.eu-north-1.amazonaws.com
.
Perhaps it is different for the S3 Express endpoints, but it seems too similar. I am running the latest version, as far as I am aware:
Version: 16.9.0
Git revision: 656c1943
Git branch: 16-9-stable
GO version: go1.21.7
Built: 2024-02-15T18:34:24+0000
OS/Arch: linux/arm64