Azure / blobporter

Highly concurrent data transfer tool for Azure Blob Storage.
Other
85 stars 29 forks source link

AuthenticationErrorDetail: The MAC signature found in the HTTP request #110

Closed jonni-star closed 5 years ago

jonni-star commented 5 years ago

./blobporter -f "https://Account.blob.core.windows.net/CONTAINER/FILE.bak" -a CREDS -k "KEY" -c CONTAINER -n FILE.bak -t http-blockblob -verbose BlobPorter Copyright (c) Microsoft Corporation. BlobPorter Copyright (c) Microsoft Corporation. Version: 0.6.20

2019/10/10 04:44:24 -> github.com/Azure/azure-storage-blob-go/azblob.NewResponseError, C:/Users/ndearadmin/go/pkg/mod/github.com/!azure/azure-storage-blob-go@v0.0.0-20190123011202-457680cc0804/azblob/zz_generated_response_error.go:29 ===== RESPONSE ERROR (ServiceCode=AuthenticationFailed) ===== Description=Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:aa909aff-d01e-0094-1625-7fa541000000 Time:2019-10-10T04:44:24.3382384Z, Details: AuthenticationErrorDetail: The MAC signature found in the HTTP request '5+SgqCGRi5KMzPsbdZm4jOA5mcZ7m3e8GMyICrLcbEQ=' is not the same as any computed signature. Server used following string to sign: 'GET

x-ms-client-request-id:471a37bf-9bfe-477d-6446-5ae188e27860 x-ms-date:Thu, 10 Oct 2019 04:44:24 GMT x-ms-version:2018-03-28 /Account/CONTAINER restype:container timeout:61'. Code: AuthenticationFailed GET https://Account.blob.core.windows.net/CONTAINER?restype=container&timeout=61 Authorization: REDACTED User-Agent: [BlobPorter/0.6.20/amd64/Azure-SDK-For-Go/0.0.0 azblob/2018-03-28 Azure-Storage/0.5 (go1.13.1; Windows_NT)] X-Ms-Client-Request-Id: [471a37bf-9bfe-477d-6446-5ae188e27860] X-Ms-Date: [Thu, 10 Oct 2019 04:44:24 GMT] X-Ms-Version: [2018-03-28]

RESPONSE Status: 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. Content-Length: [756] Content-Type: [application/xml] Date: [Thu, 10 Oct 2019 04:44:23 GMT] Server: [Microsoft-HTTPAPI/2.0] X-Ms-Error-Code: [AuthenticationFailed] X-Ms-Request-Id: [aa909aff-d01e-0094-1625-7fa541000000]

jonni-star commented 5 years ago

Not an error, Key had changed