I just ran into this error for the first time with aiobotocore, logging here for us to check if we're missing any adaptation from aiohttp 2.x
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/botocore/awsrequest.py", line 426, in reset_stream
self.body.seek(0)
ValueError: I/O operation on closed file.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
response = await self._client.put_object(**kwargs)
File "/usr/local/lib/python3.5/site-packages/aiobotocore/client.py", line 79, in _make_api_call
operation_model, request_dict)
File "/usr/local/lib/python3.5/site-packages/aiobotocore/endpoint.py", line 211, in _send_request
request.reset_stream()
File "/usr/local/lib/python3.5/site-packages/botocore/awsrequest.py", line 429, in reset_stream
raise UnseekableStreamError(stream_object=self.body)
botocore.exceptions.UnseekableStreamError: Need to rewind the stream <_io.BytesIO object at 0x7f6025b68258>, but stream is not seekable.
I just ran into this error for the first time with aiobotocore, logging here for us to check if we're missing any adaptation from aiohttp 2.x