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

Scaleway object storage doesn't support signature v4 streaming #29

Open
crohr opened this issue Apr 3, 2023 · 0 comments
Open

Scaleway object storage doesn't support signature v4 streaming #29

crohr opened this issue Apr 3, 2023 · 0 comments
Assignees

Comments

@crohr
Copy link
Owner

crohr commented Apr 3, 2023

I was testing Scaleway's object storage with Carrierwave, and noticed that all my files were correctly uploaded, but corrupted. For instance a simple text file with hello would contain the following content:

6;chunk-signature=31a79bfb9914d6672f3888180217b5c958f8286a68be72e15d2d934eb9c8e99d
hello

0;chunk-signature=7b249d98f263bfd7d14a2e628587e7a5e18f8d095daee2c932d5b93b9a2c9e0b

It is actually due to Scaleway not supporting signature v4 streaming, which under the hood uses chunked-encoding. This is enabled by default in the fog-aws library, but can be disabled with enable_signature_v4_streaming: false.

After that, files were correctly uploaded to Scaleway.

Reference: fog/fog-aws#523

@crohr crohr added the published label Apr 3, 2023
@crohr crohr self-assigned this Apr 3, 2023
@crohr crohr changed the title Scaleway doesn't support signature v4 streaming Scaleway object storage doesn't support signature v4 streaming Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant