You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.
Upload a file which is large enough to cause chunking
SignatureDoesNotMatch error from S3
All relevant Fine Uploader-related code that you have written
Hard to extract, don't think it is relevant.
Detailed explanation of the problem
Note that this does not happen in other browsers or newer versions of Safari, it is a problem with Safari 9.1 only (maybe earlier versions are affected).
The request to be signed sent to our server from fineuploader looks e.g. like this:
PUT\n\n\n\nx-amz-date:Tue, 28 Nov 2017 08:48:18 GMT\n/bucket-name/development/cache/1511858898513-1-0001-7257/3fa9a757-605e-4d17-84ec-aaf7334676b1?partNumber=3&uploadId=WSIEbflFVyKimWDXz8R46hL4of6E96Xw4NzdW3lehcYVbXiI9uB4PjyyUdEo1mQToN.Jq7Ycpb5KUOvg3r7ZlCJKwKPVRsb3H5Ki9GHBG.hopcomJ7aHme5UUv4Et7GK
Note that there is an extra comma in <StringToSign> which is missing from the request to the signature endpoint. I verified that this is the problem by manually inserting the comma in my signature endpoint - after that the chunked uploads work.
The text was updated successfully, but these errors were encountered:
Since I don't have access to Safari 9 - I can't verify/fix anything specific to that browser. But I would be quite surprised if this was an issue with Fine Uploader, as yours is the only such report, and failure to upload to S3 in Safari 9 would certainly generate more than 1 report. You'll probably want to dig deeper to determine how your specific environment is causing this.
Ok, I tracked this down, it is a regression which was introduced in 5.14.5 - there was only one change in this release: 5.14.4...5.14.5 - this was a bugfix for edge.
This broke chunked uploads for Safari 9. Safari 9 seems to replace the empty content type with a single comma. Maybe the content type should only be set if it was detected that edge >= 15 is used?
Type of issue
Uploader type
Bug Report
Fine Uploader version
5.14.5
Browsers where the bug is reproducible
Safari 9.1.2
Operating systems where the bug is reproducible
macOS 10.11
Exact steps required to reproduce the issue
All relevant Fine Uploader-related code that you have written
Hard to extract, don't think it is relevant.
Detailed explanation of the problem
Note that this does not happen in other browsers or newer versions of Safari, it is a problem with Safari 9.1 only (maybe earlier versions are affected).
The request to be signed sent to our server from fineuploader looks e.g. like this:
Amazon then responds as follows:
Note that there is an extra comma in
<StringToSign>
which is missing from the request to the signature endpoint. I verified that this is the problem by manually inserting the comma in my signature endpoint - after that the chunked uploads work.The text was updated successfully, but these errors were encountered: