ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix S3 with some providers
Chocobozzz9ac4ecb6f84f
diff --git a/server/core/lib/object-storage/shared/client.ts b/server/core/lib/object-storage/shared/client.tsindex 6cd6263e29..22a6fa9835 100644--- a/server/core/lib/object-storage/shared/client.ts+++ b/server/core/lib/object-storage/shared/client.ts@@ -46,7 +46,9 @@ function getClient () {}: undefined,requestHandler: await getProxyRequestHandler(),- maxAttempts: CONFIG.OBJECT_STORAGE.MAX_REQUEST_ATTEMPTS+ 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'})logger.info('Initialized S3 client %s with region %s.', getEndpoint(), OBJECT_STORAGE.REGION, lTags())