Closed pabloariasmora closed 5 years ago
try using aiobotocore.client as thats essentially whats being used. I would suspect the use_ssl=False
is the issue here, is there any reason why you've disabled it?
Thanks for the reply,
I removed the flag, but still showing the same issue. I currently have the flag because my dev env has some issues with certificates, but I did tested with the flag in other environment without cert issues.
Are you sure you can hit S3 from where your running this as it works for me, although I'm on Linux I don't think being on windows would matter.
I did test using the boto3 implementation, from the same machine and worked, but this one was not able to do it. Probably is related with Windows in that case.
I'm closing this as a windows issue, if you can reproduce it on linux i'll look more into it.
aioboto3==6.2.2
Python 3.7.3
Description
I have a method to upload data to s3 using put_object, but it failed giving a timeout to await.
What I Did
I was trying to look for an example that could help me to validate my algorithm but couldn't find it in the documentation.
Here is my def
It hangs after
logger.info('Starting Upload')
, not sure why theput_object
method is failing.Exception been displayed
aiohttp.client_exceptions.ServerTimeoutError: Timeout on reading data from socket
PD: I have the same implementation only on boto3 and is working.