You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
header is malformed; the region 'vpce' is wrong; expecting 'ca-central-1' (Service: Amazon S3; Status Code: 400; Error Code: AuthorizationHeaderMalformed;
261
-
Request ID: req-id;
257
+
com.amazonaws.services.s3.model.AmazonS3Exception: The authorization header is malformed; the region 'vpce' is wrong; expecting 'ca-central-1'
header is malformed; the region 'vpce' is wrong; expecting 'ca-central-1' (Service: Amazon S3; Status Code: 400; Error Code: AuthorizationHeaderMalformed; Request ID: req-id;
262
260
```
263
261
Cause:
264
262
265
263
Since, endpoint parsing is done in a way that it assumes the AWS S3 region
266
264
would be the 2nd component of the `fs.s3a.endpoint` URL delimited by ".", in
267
265
case of PrivateLink URL, it can't figure out the region and throws an
268
-
authorization exception. Thus, to add support to using PrivateLink URLs we use
269
-
`fs.s3a.endpoint.region` to set the region and bypass this parsing of
270
-
`fs.s3a.endpoint`, in the case shown above to make it work we'll set the AWS
266
+
authorization exception. Thus, to add support to using PrivateLink URLs we use `fs.s3a.endpoint.region`
267
+
to set the region and bypass this parsing of `fs.s3a.endpoint`, in the case shown above to make it work we'll set the AWS
0 commit comments