some AWS S3 problem #31
Copy link
Copy link
Open
Labels
Description
Hi
i am using this for my uploader, all will go the AWS S3
when i try it i have some problem
- when read the file form AWS the URL is not work the error is
The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
then i change the code in the index.js line 250 to
url: (options.useSSL ? 'https:' : 'http:') + '//' + options.storage.aws.bucketName + '.s3-' + options.storage.aws.region + '.amazonaws.com/' + o.Key
them is can display correct, is that ok ?
- when post to aws that is no any thumbnail.
3.for the tmpDir the file will upload to it, those file will delete ?
thx
Gino
Reactions are currently unavailable
Activity
mycaule commentedon Dec 29, 2014
GinoToo,
options.storage.typeis set tolocal. When set toaws, nothing is doneThank you.
arvindr21 commentedon Dec 29, 2014
Hello,
To answer your questions,
1 : This is same as #16 the solution is set to the bucket name and point to region if you know. If not, leave the region out. Just in case, can you please post the config and options?
2 : As of now thumbnails are only supported in server uploads. I will need to implement this next.
3 : Looks like the delete logic is missing for AWS. Thanks for bringing it to the notice. Will fix this too.
-- Thanks.
mycaule commentedon Dec 29, 2014
I think the region is mandatory. I didn't have good results on a clean installation. I tried :
region : 'us-west-2',regionset at all (undefined).In my case setting
region:'eu-west-1'and changing the get URL here to this line below solved all the problems (GET and DELETE).A simple way to know what the
regionis, is to go to your Amazon S3 Managment Console with your browser and to get the parameter value in the URL.GinoToo commentedon Dec 29, 2014
hi arvindr21
reference for #16
for me also only work for the first one
no need to use the region
the code look like
here is my option