Minio : Bad request: Invalid content sha256 hash: Invalid character 'S' at position 0 #205
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#205
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello, I'm trying Garage locally running with Docker and I'm having issues to do a copy operation with the Minio client.
I followed the quick start guide, and I also adapated the Multi-Node Deployment guide to run it with Docker Compose.
How to reproduce
What to expect
The same behaviour as with aws-cli
Context
garage.toml
:docker-compose.yml
:Minio client version :
mcli version RELEASE.2021-12-10T00-14-28Z
Garage version :
garage 0.5.1
Bad request: Invalid content sha256 hash: Invalid character 'S' at position 0to Minio : Bad request: Invalid content sha256 hash: Invalid character 'S' at position 0I believe this
S
is the start ofSTREAMING-AWS4-HMAC-SHA256-PAYLOAD
(if you could confirm this by looking in Garage logs or by using Wireshark it would be amazing).This mode of payload verification is used my minio when sending an object over http (but not https). Support for it was added in #156. It is already available on
main
, and will be on next release.There is already a release candidate for it that you can test :
dxflrs/amd64_garage:v0.6.0-rc1
. Note that there is a manual migration to do if you plan to keep the same data from 0.5 to 0.6, which is documented here, or you can delete garage meta and data to start fresh.Here are Garage logs when doing a
mcli cp b.txt my-test-garage/data-test-bucket
:While searching on Wireshark I found this which seems to confirm your idea :
I will try with Garage v0.6.0-rc1
I tried with Garage v0.6.0-rc1 and now
mcli cp b.txt my-test-garage/data-test-bucket
works!