zip files on using S3 bucket

PennController for IBEX Forums Support zip files on using S3 bucket

  • This topic has 0 replies, 1 voice, and was last updated 1 year ago by pchen.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #10473
    pchen
    Participant

    Hi Jeremy,

    When I pasted the rules from here (https://www.pcibex.net/wiki/zipped-resources/#uploadingandgrantingaccesstozipfiles, if you’re using an Amazon S3 bucket), I got the error massage of “The CORS configuration must be written in valid JSON.
    API response: Expected params.CORSConfiguration.CORSRules to be an Array”.

    So I change to the following, which has worked for me in the past for another project. However, my experiment (https://farm.pcibex.net/r/NdMlhm/) would stuck on “Please wait while the resources are preloading This may take up to 1min”. I do have the bucket permission access setting as “public”. Am I missing anything else?

    Thanks,
    Peiyao

    [
        {
            "AllowedHeaders": [
                "*"
            ],
            "AllowedMethods": [
                "GET"
            ],
            "AllowedOrigins": [
                "https://farm.pcibex.net"
            ],
            "ExposeHeaders": []
        }
    ]
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.