libs3 icon indicating copy to clipboard operation
libs3 copied to clipboard

bucket's region

Open sebachang opened this issue 8 years ago • 2 comments

how to set region for connection? i cannot operate the North Californa region's bucket, but the US Standard region's bucet is ok. i am in china.

sebachang avatar Mar 07 '16 03:03 sebachang

Even i face up the same issue, it dosen't work for other regions except us-east-1, i.e, N.Virgina, could someone help in fixing this

advent-embedded avatar Dec 06 '17 07:12 advent-embedded

If you are getting ErrorPermanentRedirect with:

ERROR: ErrorPermanentRedirect
  Message: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
  Extra Details:
    Bucket: bucketname
    Endpoint: bucketname.s3.amazonaws.com

... you have to use the -h switch

   -h/--vhost-style     : use virtual-host-style URIs (default is path-style)

martinprikryl avatar Dec 06 '17 08:12 martinprikryl