After updating from aioboto3 8.0.3 I got some errors with long-running tasks that execute many requests to dynamodb, such as:
botocore.exceptions.HTTPClientError: An HTTP Client raised an unhandled exception: Response payload is not completed,
ConnectionResetError: Cannot write to closing transport and
botocore.exceptions.HTTPClientError: An HTTP Client raised an unhandled exception: [Errno None] Can not write request body for https://dynamodb.us-east-1.amazonaws.com/
What I Did
I'm not sure exactly what triggered the errors other than using aioboto3 to perform multiple dynamodb operations
my current setup looks like this
aioboto3: 9.3.1
,aiobotocore: 1.0.4
,boto3: 1.20.24
,botocore: 1.23.24
,aiohttp: 3.8.1
Description
After updating from aioboto3 8.0.3 I got some errors with long-running tasks that execute many requests to dynamodb, such as:
botocore.exceptions.HTTPClientError: An HTTP Client raised an unhandled exception: Response payload is not completed
,ConnectionResetError: Cannot write to closing transport
andbotocore.exceptions.HTTPClientError: An HTTP Client raised an unhandled exception: [Errno None] Can not write request body for https://dynamodb.us-east-1.amazonaws.com/
What I Did
I'm not sure exactly what triggered the errors other than using aioboto3 to perform multiple dynamodb operations my current setup looks like this
Note:
SESSION
constant on other functions for operations likeput_item
, etc.