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
R2 Incompatibility #975
Comments
I have a repro here: https://github.com/chreekat/r2-repro/ . It is based on the package I was originally working on, hence the slightly funky stack.yaml. I adapted it to work with amazonka-2.0, but now I seem to have hit a stack bug or something, so I need a bit of time to push that... Oh, and I can provide credentials to a test R2 bucket via PM if that helps. |
I updated the repro, but see commercialhaskell/stack#5473 (comment) for why it's not so easy to swap between the repro and the patched test case. |
The AWS SigV4 docs say:
So I don't think there's anything stopping us from filtering out an |
In that case I've opened #977 with my little patch. |
I am unable to send a PutObject to R2, Cloudflare's object storage. I get a
SignatureDoesNotMatch
error.I eventually figured out a workaround: remove
expect
from the list of normalised headers.While I consider this a bug in R2, it looks like the aws utility doesn't include
expect
in its signature, either. I don't know the security implications for removing it, so I'm not gonna open a PR yet. Any thoughts?This is the workaround for 2.0:
And similarly for 1.6.1:
The text was updated successfully, but these errors were encountered: