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

Chunking enabled throw me SignatureDoesNotMatch? #4

@despotbg

Description

@despotbg

Everything works fine until I turn on chunking. But when chunking is turned on, I get signature matching problem
This is how my CORS configuration looks like on S3
<?xml version="1.0" encoding="UTF-8"?> <CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <CORSRule> <AllowedOrigin>*</AllowedOrigin> <AllowedMethod>GET</AllowedMethod> <AllowedMethod>POST</AllowedMethod> <AllowedMethod>PUT</AllowedMethod> <AllowedMethod>DELETE</AllowedMethod> <MaxAgeSeconds>3000</MaxAgeSeconds> <ExposeHeader>ETag</ExposeHeader> <AllowedHeader>*</AllowedHeader> </CORSRule> </CORSConfiguration>
And this is how I initialize fine uplaoder

request: {
        endpoint: '{!! $upload->getS3BucketUrl() !!}',
        accessKey: '{!! $upload->getAccessKey() !!}',
},
signature: {
        endpoint: '/uploader',
        version: 4
},
objectProperties: {
        region: 'us-east-2',
        key: function (fileId) {
             return '{!! $user->getId() !!}/' + $("#fineUploader").fineUploader("getName",fileId);
        }
},
chunking: {
       enabled: true
}

Still I get response
<Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions