thumbor-community / aws

Thumbor AWS extensions
MIT License
155 stars 70 forks source link

filters and tc_aws.loaders.presigning_loader are not compatible #121

Closed jermeyhu closed 6 years ago

jermeyhu commented 6 years ago

The setting of tc_aws.loaders.presigning_loader does not take effect when using filters

Stacktrace

Configuration file

TC_AWS_REGION='image' 
TC_AWS_ENDPOINT='http://192.168.153.1:9000' 
LOADER = 'tc_aws.loaders.presigning_loader' 
RESULT_STORAGE='tc_aws.result_storages.s3_storage'
RESULT_STORAGE_EXPIRATION_SECONDS = 3600 
RESULT_STORAGE_STORES_UNSAFE = True 
TC_AWS_RESULT_STORAGE_BUCKET='image' 
TC_AWS_RESULT_STORAGE_ROOT_PATH='_' 
TC_AWS_MAX_RETRY=0 
TC_AWS_STORE_METADATA=False  

Url:http://192.168.153.128:8888/unsafe/300x200/filters:watermark(image/cq_fis_tpm.png,-10,-10,0):format(image-format)/image/6d8683301b6f79ea0968b10b407e18da.jpg

but Url:http://192.168.153.128:8888/unsafe/300x200/image/6d8683301b6f79ea0968b10b407e18da.jpg is OK

Versions

Thumbor/6.5.1 thumbor_aws 6.2.10 minio

Bladrak commented 6 years ago

Hello and thanks for reporting, Can you add a stack trace with the error? What is not working exactly?

Bladrak commented 6 years ago

Closing for inactivity, feel free to re-open if with more details.