Skip to content
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

Cloudflare R2 - Cannot Save to R2 #424

Open
hockey6611 opened this issue Aug 21, 2024 · 1 comment
Open

Cloudflare R2 - Cannot Save to R2 #424

hockey6611 opened this issue Aug 21, 2024 · 1 comment
Labels

Comments

@hockey6611
Copy link

Describe the bug
KeeAnywhere is unable to save to Cloudflare R2 (using KeeAnywhere S3 compatible account). This appears to be due R2 not implementing streaming SigV4, and KeeAnywhere received the error: (501): Not Implemented, STREAMING-AWS4-HMAC-SHA256-PAYLOAD.

According to these R2 Docs issues:

package attempts streaming SigV4 so the operations need to be given the DisablePayloadSigning = true option
cloudflare/cloudflare-docs#6133
cloudflare/cloudflare-docs#4683

Searching for the error leads to other projects that have the same issues that are fixed by disabling payload signing:
https://forum.duplicati.com/t/back-up-to-cloudflare-r2-storage-fails/15511/19

To Reproduce
Steps to reproduce the behavior:

  1. Successfully setup Cloudflare R2 as an Amazon S3 account in KeeAnywhere.
  2. Open your database
  3. Make a change, and save. Receive error in screenshot below.

Expected behavior
KeeAnywhere should be able to utilize Cloudflare R2 as an S3-compatible account provider

Screenshots
image
image

Environment:

  • OS and Version: Windows 10
  • KeePass-Version: 2.57
  • KeeAnywhere-Version: 2.1

Additional context
I realize that Cloudflare R2 could be considered not "compatible" with Amazon S3 if they do no implement all operations. It would still be nice to be able to use cloudflare R2 with KeeAnywhere 😀

@hockey6611 hockey6611 added the bug label Aug 21, 2024
@Hau-Hau
Copy link

Hau-Hau commented Aug 21, 2024

According to sources which you have find looks that we would need to add DisablePayloadSigning = true to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants