2025-07-16 22:46:14,096 - asyncio - ERROR - Task exception was never retrieved
future: <Task finished name='Task-8' coro=<AWSCRTHTTPClient._consume_body_async() done, defined at /Users/luck/may_2025/amazon-nova-samples/speech-to-speech/workshops/python-server/.venv/lib/python3.13/site-packages/smithy_http/aio/crt.py:391> exception=OSError("Stream is completed and doesn't support further writes.")>
Traceback (most recent call last):
File "/Users/luck/may_2025/amazon-nova-samples/speech-to-speech/workshops/python-server/.venv/lib/python3.13/site-packages/smithy_http/aio/crt.py", line 396, in _consume_body_async
dest.write(chunk)
~~~~~~~~~~^^^^^^^
File "/Users/luck/may_2025/amazon-nova-samples/speech-to-speech/workshops/python-server/.venv/lib/python3.13/site-packages/smithy_http/aio/crt.py", line 471, in write
raise OSError("Stream is completed and doesn't support further writes.")
OSError: Stream is completed and doesn't support further writes.
2025-07-16 22:45:07,579 - asyncio - ERROR - Future exception was never retrieved
future: <Future finished exception=AwsCrtError(name='AWS_ERROR_HTTP_RST_STREAM_RECEIVED', message='Peer sent RST_STREAM to terminate HTTP-stream.', code=2077)>
awscrt.exceptions.AwsCrtError: AWS_ERROR_HTTP_RST_STREAM_RECEIVED: Peer sent RST_STREAM to terminate HTTP-stream.