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

mc stat does not work on Backblaze B2 #5072

Closed
vbmithr opened this issue Oct 29, 2024 · 2 comments
Closed

mc stat does not work on Backblaze B2 #5072

vbmithr opened this issue Oct 29, 2024 · 2 comments

Comments

@vbmithr
Copy link

vbmithr commented Oct 29, 2024

Expected behavior

Actual behavior

mcli: <DEBUG> HEAD /b2-snapshots-138dfd399600/bzsnapshot_2024-02-13-16-03-47.zip HTTP/1.1
Host: s3.us-west-004.backblazeb2.com
User-Agent: MinIO (linux; amd64) minio-go/v7.0.77 mcli/RELEASE.2024-10-08T09-37-26Z
Authorization: AWS4-HMAC-SHA256 Credential=004138dfd3996000000000002/20241029/us-west-004/s3/aws4_request, SignedHeaders=host;x-amz-checksum-mode;x-amz-content-sha256;x-amz-date, Signature=**REDACTED**
X-Amz-Checksum-Mode: ENABLED
X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
X-Amz-Date: 20241029T151958Z

mcli: <DEBUG> HTTP/1.1 400
Content-Length: 198
Cache-Control: max-age=0, no-cache, no-store
Connection: keep-alive
Content-Type: application/xml
Date: Tue, 29 Oct 2024 15:19:58 GMT
Server: nginx
Strict-Transport-Security: max-age=63072000
X-Amz-Id-2: aMc0zJDhdZM5mk2SoM0g53DmtNucw0jAj
X-Amz-Request-Id: ab140bf1721be666

mcli: <DEBUG> TLS Certificate found:
mcli: <DEBUG>  >> Country: US
mcli: <DEBUG>  >> Organization: Let's Encrypt
mcli: <DEBUG>  >> Expires: 2025-01-05 20:31:24 +0000 UTC
mcli: <DEBUG> TLS Certificate found:
mcli: <DEBUG>  >> Country: US
mcli: <DEBUG>  >> Organization: Internet Security Research Group
mcli: <DEBUG>  >> Expires: 2027-03-12 23:59:59 +0000 UTC
mcli: <DEBUG> Response Time:  151.134358ms

mcli: <ERROR> Unable to stat `b2/b2-snapshots-138dfd399600/`. 400
 (2) stat.go:350 cmd.statURL(..) Tags: [b2/b2-snapshots-138dfd399600/bzsnapshot_2024-02-13-16-03-47.zip]
 (1) client-url.go:217 cmd.url2Stat(..) Tags: [b2/b2-snapshots-138dfd399600/bzsnapshot_2024-02-13-16-03-47.zip]
 (0) client-s3.go:1725 cmd.(*S3Client).getObjectStat(..)
 Release-Tag:RELEASE.2024-10-08T09-37-26Z | Commit:cf128de2cf42 | Host:sita | OS:linux | Arch:amd64 | Lang:go1.23.2 | Mem:4.3 MiB/23 MiB | Heap:4.3 MiB/15 MiB.

Steps to reproduce the behavior

mc --version

  • (paste output of mc --version)

RELEASE.2024-10-08T09-37-26Z

System information

Archlinux x86_64

@harshavardhana
Copy link
Member

Ask Backblaze B2 to support checksum mode

@klauspost
Copy link
Contributor

(or at least ignore it, which is the intended behavior)

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

3 participants