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

Unsupported header x-amz-checksum-sha256 error for uploads #15841

Closed
jeffstreann opened this issue Apr 16, 2024 · 5 comments · Fixed by #15878 or #15951
Closed

Unsupported header x-amz-checksum-sha256 error for uploads #15841

jeffstreann opened this issue Apr 16, 2024 · 5 comments · Fixed by #15878 or #15951
Assignees
Labels
b2 Backblaze B2 Protocol Implementation s3 AWS S3 Protocol Implementation

Comments

@jeffstreann
Copy link

jeffstreann commented Apr 16, 2024

This ticket system is to report bugs and feature requests. For support, visit the help page first.

  • If you have trouble connecting to a server or your login credentials are not valid, try to resolve the issue with the assistance of your hosting service provider. Any such ticket will be closed with a resolution of thirdparty.

Describe the bug
On Cyberduck version 8.8.2 Not able to create folders, or upload files. When trying to create a folder or upload a file this message pop up
image

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
Should be able to create a folder, upload a file and a done.txt file to upload files to our platform.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 11 Home Single Language
  • Version 22H2
  • OS Build 22621.3447

Log Files
Please include the log file. You can reach the logging output in Preferences → Connection.

Additional context
Add any other context about the problem here.

@technotherion
Copy link

technotherion commented Apr 21, 2024

I hope that it is OK to piggyback off of this issue, this issue is the only other place I've seen this error.

My bookmark settings are as follows.
image
Object lock is NOT enabled on my buckets.

Experiencing the same issue on Windows 10 + Cyberduck 8.8.2.
Attempting to upload files to Backblaze B2 via Amazon S3.
I am able to delete files. I can not upload files or create new folders.

Creating a new folder causes this error:
image

Uploading a file causes this error:

image

Unfortunately, the program does not appear to allow me to copy and paste this error text.

I am also able to create new b2 buckets and do not experience any errors doing so. Said buckets show up correclty on the Backblaze website.

cyberduck.log

I am able to connect to the same buckets using S3 Browser and upload files correctly. is this maybe a AWS Signature v4 issue?

@dkocher dkocher added s3 AWS S3 Protocol Implementation b2 Backblaze B2 Protocol Implementation labels Apr 22, 2024
@dkocher dkocher self-assigned this Apr 22, 2024
@dkocher
Copy link
Contributor

dkocher commented Apr 22, 2024

This seems to be caused by the changes implemented for #15557. Please open a bug with Backblaze about this issue with their S3 implementation not being interoperable.

@dkocher dkocher changed the title Not able to create folders, or upload files Unsupported header x-amaz-checksum-sha256 error for uploads Apr 22, 2024
@dkocher dkocher changed the title Unsupported header x-amaz-checksum-sha256 error for uploads Unsupported header x-amz-checksum-sha256 error for uploads Apr 22, 2024
@dkocher
Copy link
Contributor

dkocher commented Apr 22, 2024

@jeffstreann Do you also see this issue when uploading to B2 using S3?

@dkocher
Copy link
Contributor

dkocher commented Apr 24, 2024

The incompatibility is documented 1.

Requests that include the following checksum HTTP headers are rejected with a 400 Bad Requestresponse:
x-amz-checksum-crc32
x-amz-checksum-crc32c
x-amz-checksum-sha1
x-amz-checksum-sha256
x-amz-checksum-algorithm
x-amz-checksum-mode

Footnotes

  1. https://www.backblaze.com/docs/cloud-storage-s3-compatible-api

dkocher added a commit that referenced this issue Apr 24, 2024
@dkocher dkocher linked a pull request Apr 24, 2024 that will close this issue
@jeffstreann
Copy link
Author

@jeffstreann Do you also see this issue when uploading to B2 using S3?

correct. I am using version 8.7.3 (40979) temporarily, as any newer version gives me an error when trying to create folders or upload files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
b2 Backblaze B2 Protocol Implementation s3 AWS S3 Protocol Implementation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants