Backblaze as Remote error Unsupported header 'x-amz-checksum-mode' received for this API call.
-
@DustinB when i disable it I can't connect it.
I use the from source version
This one work correctly. this is another customer with a older version.
Xen Orchestra, commit fa974
Master, commit b3d66
You are not up to date with master. 221 commits behind -
@mguimond said in Backblaze as Remote error Unsupported header 'x-amz-checksum-mode' received for this API call.:
master. 221 commits behind
The version that is 221 updates behind works, but your current version does not?
-
@DustinB That is correct.
-
-
@DustinB No, but dev team has been notified so that they can investigate.
-
I submitted this as a GitHub issue last week.
TL;DR: Backblaze aparently doesn't support those flags that are enabled by default
"Backblaze does not yet accept these headers, so we recommend downgrading to AWS Javascript 3.x SDK version 3.728.0." -
@jr-m4 nice find . thank you
-
@mguimond @jr-m4 I would like to be able to keep the library up to date.
Would it be possible to patch a file in your install ? and check if the backup run It will disable the checksum computation .Note that if you use backup encryption, the checksum are already checked on restore
you can either use this branch : fix_s3_backblaze or modify directly the code in your installation in <xo>/node_modules/@xen-orchestra/fs/dist/s3.js
replace :
requestHandler: new _nodeHttpHandler.NodeHttpHandler({ socketTimeout: 600000, httpAgent: new _http.Agent({ keepAlive: true }), httpsAgent: new _https.Agent({ rejectUnauthorized: !allowUnauthorized, keepAlive: true }) })
by
requestHandler: new _nodeHttpHandler.NodeHttpHandler({ socketTimeout: 600000, httpAgent: new _http.Agent({ keepAlive: true }), httpsAgent: new _https.Agent({ rejectUnauthorized: !allowUnauthorized, keepAlive: true }) }), requestChecksumCalculation: "WHEN_REQUIRED", responseChecksumValidation: "WHEN_REQUIRED"
(the difference is
, requestChecksumCalculation: "WHEN_REQUIRED", responseChecksumValidation: "WHEN_REQUIRED"
-
@florent said in Backblaze as Remote error Unsupported header 'x-amz-checksum-mode' received for this API call.:
,
requestChecksumCalculation: "WHEN_REQUIRED",
responseChecksumValidation: "WHEN_REQUIRED"I (previously as @jr-m4) just tried the patch you suggested. And I can confirm that this does indeed make the backup complete successfully!
Great work finding a solution that quicklly! -
Great example on how great the community is and how fast our dev can fix it! Thanks for the feedback, it really matters, as you can see!
-
thanks for pointing the exact issue in the aws SDK. It gave use enough matter to find the fix
-
@florent Sorry for the delay. I was able to make it work with the change you posted. Thank You.
-
O olivierlambert marked this topic as a question
-
O olivierlambert has marked this topic as solved