Ticket #3068 (closed defect: fixed)

Opened 12 months ago

Last modified 2 days ago

The parameter Origin does not refer to a valid S3 bucket

Reported by: dkocher Owned by: dkocher
Priority: normal Milestone: 3.2
Component: s3 Version: 3.1.1
Severity: normal Keywords:
Cc:

Description

I might have missed something, but I can't figure out how to setup an Amazon CloudFront distribution (I have a AWS account with S3 and Cloudfront enabled) When I try to set the check box, the Where field stays at Unknown, pressing "apply" shows an error: The parameter Origin does not refer to a valid S3 bucket. The transcript is:

Date: Wed, 18 Feb 2009 10:59:04 GMT[\r][\n]
Cneonction: close[\r][\n]
Server: CloudFront[\r][\n]
[\r][\n]
[\r][\n]

Attachments

Change History

Changed 12 months ago by dkocher

This issue occurs only when creating a new distribution. Updating an existing distribution works as expected. The issue seems to be that the Origin parameter is expected to be <bucketname>.s3.amazonaws.com but we only send <bucketname> for the parameter.

Changed 12 months ago by dkocher

The documentation in the CloudFront developer guide is clear about this:

When you create the distribution, you specify the origin server bucket's name using this format: <bucket name>.s3.amazonaws.com. Do not use the Amazon S3 path style for specifying the bucket, which is s3.amazonaws.com/<bucket name>. If the bucket has a CNAME alias, you must specify the bucket name and not the CNAME alias.

Changed 12 months ago by dkocher

  • status changed from new to closed
  • resolution set to fixed

In r4504.

Changed 12 months ago by dkocher

The nightly build is now  available.

Changed 2 days ago by avenue hunter

Thanks dkocher for helping us out neophytes in creating new Amazon CloudFront distribution. I would never have figured to use bucket name also. Now, I can go back to the tech problem free days and indulge in my hobbies -  going to the beach,  professional resume writing,  and clubbing.

Add/Change #3068 (The parameter Origin does not refer to a valid S3 bucket)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.