-
I'm working on a project that uses aiobotocore to access many differnet AWS functions, and in the last few days, out of nowhere, we started getting a lot of spurious errors like this one:
The code which results in this error is for example this: from aiobotocore.session import get_session
async def func():
async with get_session().create_client("s3") as client:
await client.get_object_attributes( # error occurs here
Bucket="my-bucket",
Key="my-key",
ObjectAttributes=["ObjectSize"],
) It happens in our production environment once every ~1000 calls to the AWS API, on different AWS API functions. I am unable to reproduce this locally consistently. How can I debug this further? Has anyone had a similar issue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Found the problem, it was a broken version of a subdependency called aiohappyeyeballs. Updating it to version 2.4.3 fixes the issue. |
Beta Was this translation helpful? Give feedback.
Found the problem, it was a broken version of a subdependency called aiohappyeyeballs. Updating it to version 2.4.3 fixes the issue.