-
Notifications
You must be signed in to change notification settings - Fork 17
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
Not enough context to root-cause S3 access error #346
Comments
Hi, It's very weird that HEAD can return a |
Hello! I didn't realize that this is a HEAD request and that there's no more info to show me. Yes, this problem has been perplexing me. I quadruple checked the access key, and it is the same bucket config that I use for restic that works. (Though I have not tried restic with this bucket.) Here is my full
|
Hi, @philipmw, thank you for providing more information on this. It's really helpful. I now believe it's related to the To verify my answer, please try using cc @simonsan and @aawsome, perhaps we should consider handling |
Thanks. The command I am running is |
Hi, by setting |
Is this not what I should be doing? I do want the What's the right way to use Deep Archive with rustic? |
Actually rustic should write the config file into the cold storage location as @philipmw Did you ensure you have |
Actually another test to rule out any permission stuff would be to run the same config without using |
After a long vacation, I am back and spent some more time on this. I figured out the problem for that 400 error: the I fixed this by adding I believe this issue is still relevant, as I had a heck of a time diagnosing the failure. I assumed that the credentials I defined were being used. What would have helped is printing the access key ID and secret access key, at least in debug log-level. How do y'all feel about that? |
I am having a problem configuring rustic with a set of hot and cold S3 buckets. That may be its own bug, as I believe all permissions are properly configured, but the meta-bug that I want to report here is that rustic doesn't give me enough debug information, even at trace log level, to root-cause the issue.
What I want: for rustic to print the S3 response so I can see why S3 is returning a 400 status code.
What I get: just the status code and headers. S3 has a bunch of reasons why it would give a 400 status code, so I need more.
My request: print the full response from S3 when the log level is trace or even debug.
This is what the AWS CLI does -- when verbose output is enabled, I see the full request and response payload.
The text was updated successfully, but these errors were encountered: