thumbor-community / aws

Thumbor AWS extensions
MIT License
155 stars 70 forks source link

PUT timeout behind proxy #89

Closed Xrampino closed 7 years ago

Xrampino commented 7 years ago

EDIT : I found that the problem is related to tornado-botocore which

I created a pull request https://github.com/nanvel/tornado-botocore/pull/9 Feel free to close this issue.


While the loader works properly while setting $https_proxy env var, I can't seem to have the upload working when using the /image endpoint.

It works fine when using aws-cli and aws s3 sync (newer version of botocore though). It also works using botocore API directly (still 1.2.0 as indicated by tornado-botocore) :

s3 = session.create_client('s3', region_name=region)
fp = open('./' + filename, 'rb')
s3.put_object(Body=fp,Key='testkey',Bucket=bucket)

Using tc_aws, the image itself is properly uploaded to the local server, and the PUT call is made, but I have no response from AWS.

Bladrak commented 7 years ago

Thanks for adding the details :) Closing.