mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Fix getting s3 objects with some s3 providers
See https://github.com/Chocobozzz/PeerTube/issues/6940#issuecomment-2743919744 And https://github.com/aws/aws-sdk-js-v3/issues/6810#issuecomment-2594523693
This commit is contained in:
parent
c345f683d6
commit
1fe60b9406
1 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,8 @@ function getClient () {
|
|||
requestHandler: await getProxyRequestHandler(),
|
||||
maxAttempts: CONFIG.OBJECT_STORAGE.MAX_REQUEST_ATTEMPTS,
|
||||
// Default behaviour has incompatibilities with some S3 providers: https://github.com/aws/aws-sdk-js-v3/issues/6810
|
||||
requestChecksumCalculation: 'WHEN_REQUIRED'
|
||||
requestChecksumCalculation: 'WHEN_REQUIRED',
|
||||
responseChecksumValidation: 'WHEN_REQUIRED'
|
||||
})
|
||||
|
||||
logger.info('Initialized S3 client %s with region %s.', getEndpoint(), OBJECT_STORAGE.REGION, lTags())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue