Skip to content
This repository was archived by the owner on Aug 1, 2018. It is now read-only.
This repository was archived by the owner on Aug 1, 2018. It is now read-only.

CORS error "Response for preflight is invalid (redirect)" #66

Description

@kubido

Hi,

I've follow the instruction in the docs. setup the aws credentials in initializers.
added cors configuration to the bucket but still get this error "Response for preflight is invalid (redirect)?

<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
    <CORSRule>
        <AllowedOrigin>*</AllowedOrigin>
        <AllowedMethod>PUT</AllowedMethod>
        <AllowedMethod>POST</AllowedMethod>
        <AllowedMethod>GET</AllowedMethod>
        <AllowedMethod>HEAD</AllowedMethod>
        <MaxAgeSeconds>3000</MaxAgeSeconds>
        <AllowedHeader>*</AllowedHeader>
    </CORSRule>
</CORSConfiguration>

How do I handle this?
screen shot 2016-01-25 at 4 02 56 pm

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions