Skip to content

Conversation

@smellercf
Copy link
Contributor

Summary

Removes outdated compatibility notes for SDK clients now that R2 is compatible for most clients. Updates the CLI documentation to specify the requirement for the CRC32 checksum flag.

Screenshots (optional)

Screenshot 2025-02-10 at 5 22 55 PM

Documentation checklist

  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

@github-actions github-actions bot added the product:r2 R2 object storage: https://developers.cloudflare.com/r2 label Feb 10, 2025
@jonesphillip jonesphillip merged commit e66659a into cloudflare:production Feb 11, 2025
7 checks passed
@workers-devprod workers-devprod added the contribution [Holopin] Recognizes a docs contribution, big or small label Feb 11, 2025
@holopin-bot
Copy link

holopin-bot bot commented Feb 11, 2025

Congratulations @smellercf, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cm70q8mjc00320cl154yryi6u

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account.
Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

@brendon
Copy link

brendon commented Feb 13, 2025

With aws-sdk-s3 (1.180.0) (Ruby gem) I still get the following error using Active Storage:

Aws::S3::Errors::InvalidRequest
You can only specify one checksum at a time.

It appears the problem hasn't been fixed in this case.

Adding:

request_checksum_calculation: "when_required"
response_checksum_validation: "when_required"

to each storage definition in config/storage.yml` did resolve the issue but I think what was implied by this PR is that R2 was updated to work with the new S3 library and it doesn't appear to have been, or at least not the servers that I use (Sydney).

@akshayKhot
Copy link

With aws-sdk-s3 (1.180.0) (Ruby gem) I still get the following error using Active Storage:

Aws::S3::Errors::InvalidRequest
You can only specify one checksum at a time.

It appears the problem hasn't been fixed in this case.

Adding:

request_checksum_calculation: "when_required"
response_checksum_validation: "when_required"

to each storage definition in config/storage.yml` did resolve the issue but I think what was implied by this PR is that R2 was updated to work with the new S3 library and it doesn't appear to have been, or at least not the servers that I use (Sydney).

Same here. Adding the above settings fixed the issue for me. If I remove them, I get the same error.

@brendon
Copy link

brendon commented Feb 13, 2025

With aws-sdk-s3 (1.180.0) (Ruby gem) I still get the following error using Active Storage:

Aws::S3::Errors::InvalidRequest
You can only specify one checksum at a time.

It appears the problem hasn't been fixed in this case.
Adding:

request_checksum_calculation: "when_required"
response_checksum_validation: "when_required"

to each storage definition in config/storage.yml` did resolve the issue but I think what was implied by this PR is that R2 was updated to work with the new S3 library and it doesn't appear to have been, or at least not the servers that I use (Sydney).

Same here. Adding the above settings fixed the issue for me. If I remove them, I get the same error.

I've raised it in the Discord and they're looking into it :)

https://discord.com/channels/595317990191398933/1339407687049412608

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution [Holopin] Recognizes a docs contribution, big or small product:r2 R2 object storage: https://developers.cloudflare.com/r2 size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants