-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S3 WebID auth failure error message improvement #1997
Comments
Yeah, that's not great. However, I am unable to find any information about the error format here: https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html. Any ideas where that would be? This is the typical response (https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingRESTError.html) but the token does not match. |
The specific error I was debugging ended up looking like this when I sent the same request directly. Was a
I can find similar response structures in the docs for other services, just not on STS, not ideal on AWS's part. |
We are getting the same error
The bucket exist but i can't to know witch error is. Any ideia ? Thanks |
You can try sending the request directly and examining the error message. |
If an error response is returned from the STS
AssumeRoleWithWebIdentity
call, the error message is largely eaten by the xml decoder and makes it difficult to debug permission issues.pgbackrest/src/storage/s3/storage.c
Line 418 in dffc933
An error response from STS here results in a log like:
Could this be improved to log the AWS response in the case of an error?
The text was updated successfully, but these errors were encountered: