Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Going to paths directly NoSuchKey via cloudfront. #21

Closed
karldanninger opened this issue Jan 26, 2019 · 3 comments
Closed

Going to paths directly NoSuchKey via cloudfront. #21

karldanninger opened this issue Jan 26, 2019 · 3 comments

Comments

@karldanninger
Copy link

karldanninger commented Jan 26, 2019

When I try to go to www.example.com/about i get the following error.

If I go to the about screen from the root, it seems to work fine.

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Key>about</Key>
<RequestId>87567F3A5B8</RequestId>
<HostId>
WAwgYKUgEPo7nwoqu3nbKemGq58TEVeo2KazhpN2G03YW/iIAol6lxTGOZ+NAUfRdjcOp0=
</HostId>
</Error>
@karldanninger
Copy link
Author

I seem to have solved this by changing the cloudfront origin name to the S3 URL

www.example.com.s3-website-us-east-1.amazonaws.com

I hope I didn't break anything by doing so.

@karldanninger
Copy link
Author

@jariz
Copy link
Collaborator

jariz commented Jan 27, 2019

Yes, like our cloudfront docs state using the "website" endpoint instead of the "normal" S3 origin is required for many features that the plugin offers to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants