No Such Bucket Error
Contents |
Sign in Pricing Blog Support Search GitHub This repository Watch message: the specified bucket does not exist 5 Star 28 Fork 17 sbt/sbt-s3 Code Issues 0
The Specified Bucket Does Not Exist Cname
Pull requests 0 Projects 0 Pulse Graphs New issue 'bucket does not exist ' the specified bucket does not exist (service: amazon s3; status code: 404; error code: nosuchbucket error, when host contains region #21 Closed Kevin-Lee opened this Issue Jul 27, 2015 · 5 comments Projects None yet Labels None com.amazonaws.services.s3.model.amazons3exception: the specified bucket does not exist yet Milestone No milestone Assignees No one assigned 2 participants Kevin-Lee commented Jul 27, 2015 When the host contains region, sbt-s3 is broken and it results in [error] (root/*:s3Upload) com.amazonaws.services.s3.model.AmazonS3Exception: The specified bucket does not exist (Service: Amazon S3; Status Code: 404; Error Code:
Rename Bucket S3
NoSuchBucket; The host may look like this when it contains region Bucket: my-bucket Region: ap-southeast-2 Host: my-bucket.s3-ap-southeast-2.amazonaws.com For more details about valid region/s endpoint location, please check out http://www.bucketexplorer.com/documentation/amazon-s3--amazon-s3-buckets-and-regions.html I think the cause of this is because getBucket() method uses a hard-coded S3 URL that is ".s3.amazonaws.com" and this cannot be used for the host containing region. Kevin-Lee added a commit to Kevin-Lee/sbt-s3 that referenced this issue Jul 27, 2015 Kevin-Lee #21 88cfa5b Kevin-Lee referenced this issue Jul 27, 2015 Closed Handling host containing region #22 Kevin-Lee added a commit to Kevin-Lee/sbt-s3 that referenced this issue Jul 28, 2015 Kevin-Lee https://github.com/sbt/sbt-s3/issues/21 a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Why am I getting a NoSuchBucket 404 error when forwarding www? up vote 2 down vote favorite 1 I'm trying to forward (with masking) www.theaxelrods.com to my Amazon S3 hosted static site http://stackoverflow.com/questions/21243888/why-am-i-getting-a-nosuchbucket-404-error-when-forwarding-www at http://axelrods.s3-website-us-west-2.amazonaws.com. For some reason theaxelrods.com forwards just fine, but www.theaxelrods.com does not. I even tried adding www as a subdomain and forwarding from there. What could be causing this error? 404 Not Found Code: NoSuchBucket Message: The specified bucket does not exist BucketName: www.theaxelrods.com RequestId: 13C929CE3C10699B HostId: fmi7K3bgEjRFxah/hxzyGx1FKy1Pte3+BK6TrNWcgy9KwsabLODfXZmGagnWkz3J http amazon-s3 forwarding share|improve this question edited Aug 22 at 14:23 Chenmunka 1731216 asked Jan 20 '14 at 20:49 Jeff Axelrod 13k15105187 did you make any changes to "ServerAlias" inside site-enabled of apcahe –z_- Jan 20 '14 at 21:14 improve.dk/how-to-set-up-and-serve-private-content-using-s3 –z_- Jan 20 '14 at 21:28 add a comment| 1 Answer 1 active oldest votes up vote 4 down vote accepted Bucketname are a global namespace on Amazon S3 and must be unique. Read more about this here. So, you can create another Bucketname with www.theaxelrods.com, if you want to use it with www.* I don`t try/needed it before... but I found th
från GoogleLogga inDolda fältSök efter grupper eller meddelanden
server side Ruby on Rails projects we need to support file uploads, such as pictures. To provide this support our gem of choice is Paperclip. We've used Paperclip for years and found it a huge improvement over attachment_fu which we used prior to it. However, in our last project it threw us a curve ball. As we've done in dozens of previous projects we created an S3 bucket, configured Paperclip to use it and then started uploading files. However, uploads to the bucket failed with the following error appearing in the logs… NameError (uninitialized constant AWS::S3::NoSuchBucket) Petty strange since the bucket did exist. So I used my trusty CyberDuck S3 client to connect to the bucket and upload some test images. I then tried to access these with the URL Paperclip was generating for them. For example http://s3.amazonaws.com/topsecretbucket/pictures/entity/3/pretty+picture+1.JPG?1311614390 The Amazon server returned an illuminating response… PermanentRedirect