thumbor-community / aws

Thumbor AWS extensions
MIT License
155 stars 70 forks source link

The specified key does not exist. #79

Closed johntiror closed 7 years ago

johntiror commented 7 years ago

Hi,

I'm getting the below error

2016-12-05 22:32:31 thumbor:WARNING ERROR retrieving image from S3 https://s3-eu-west-1.amazonaws.com/myapp-thumbor/test.jpg: {'ResponseMetadata': {'HTTPStatusCode': 404, 'HostId': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=', 'RequestId': 'xxxxxxxxxxxxxxxxx'}, 'Error': {'Message': 'The specified key does not exist.', 'Code': 'NoSuchKey', 'Key': 'https:/s3-eu-west-1.amazonaws.com/myapp-thumbor/test.jpg'}} 2016-12-05 22:32:31 tornado.access:WARNING 404 GET /unsafe/300x200/test.jpg (127.0.0.1) 214.86ms

My config TC_AWS_LOADER_BUCKET='myapp-thumbor' #S3 bucket for loader TC_AWS_LOADER_ROOT_PATH='https://s3-eu-west-1.amazonaws.com/myapp-thumbor' # S3 path prefix for Loader bucket LOADER = 'tc_aws.loaders.s3_loader'

This image is public and I can access it: https:/s3-eu-west-1.amazonaws.com/myapp-thumbor/test.jpg (you can't access because myapp is not real). I guess the key should be "test.jpg"... What am I doing wrong?

Thanks very much

johntiror commented 7 years ago

I'm sorry, there was a problem with the storage.

adisakshya commented 4 years ago

@johntiror Hey, I ran into the same issue today. Can you tell me what was the problem with storage in your case?