diff --git a/backend/btrixcloud/storages.py b/backend/btrixcloud/storages.py index 3c8691c19d..8f0d1185fc 100644 --- a/backend/btrixcloud/storages.py +++ b/backend/btrixcloud/storages.py @@ -314,11 +314,15 @@ async def get_s3_client( session = aiobotocore.session.get_session() - config = None + config = AioConfig( + request_checksum_calculation="WHEN_REQUIRED", + response_checksum_validation="WHEN_REQUIRED", + ) if for_presign and storage.access_endpoint_url != storage.endpoint_url: s3 = {"addressing_style": storage.access_addressing_style} - config = AioConfig(signature_version="s3v4", s3=s3) + config.signature_version = "s3v4" + config.s3 = s3 async with session.create_client( "s3", diff --git a/backend/requirements.txt b/backend/requirements.txt index 21c7d4ee72..c9811b0196 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -10,7 +10,7 @@ loguru aiofiles kubernetes-asyncio==29.0.0 kubernetes -aiobotocore +aiobotocore>=2.22.0 requests redis>=5.0.0 pyyaml