Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Fineuploader shows Upload failed after successful uploading to s3 #2017
Comments
|
If you see an issue in the codebase, please open up a PR with your proposed fix. Thanks. |
|
Sorry, i just found it but my tries to fix end on dirty bucket name pasted
in complete multiupload function. I tries coupe of variation but with no
success. Im not that experienced
pt., 29 cze 2018, 04:27 użytkownik Ray Nicholus <notifications@github.com>
napisał:
… If you see an issue in the codebase, please open up a PR with your
proposed fix. Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2017 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJmP6ZDurTkvWgbeQVZrwWPN0Q_s9Kpuks5uBZCJgaJpZM4U0IZT>
.
|

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Type of issue
Uploader type
Note: Support requests cannot be accepted due to lack of time.
I cant say its my bad code or bug
Bug Report
Fine Uploader version
{example: 5.16.2}
Browsers where the bug is reproducible
Firefox
Operating systems where the bug is reproducible
Linux for sure
Exact steps required to reproduce the issue
For example:
All relevant Fine Uploader-related code that you have written
Detailed explanation of the problem
The upload is successful, I can see the file in my bucket but fineupload cant manage to verify if this was indeed success. chunk indexes are still marked as in progress so i belive this is a problem
Errors Im getting
XML processing error
(
[Fine Uploader 5.16.2] File ID 0 has no more chunks to send and these chunk indexes are still marked as in-progress: [1,4] util.js:236:16 XML processing error: active item not found Obszar: http://s3.eu-west-2.amazonaws.com/xxx/test/8097845f-238b-4f7f-a230-e414febac146.jpg?partNumber=4&uploadId=hvy67lKG.0i5iOfus3oYbMg7l9cYxzSlHIL2gpRlkt8tk1LKhPEGKTJbg1laGHjpl3u.oHDRQPfv2_GYE3mprNqwjdEEU_wxkrzihbPpyJjW5gL4smyJhUHnuGBblzjH Numer wiersza: 1, kolumna 1:)And after last chunk sended
[Fine Uploader 5.16.2] Complete response status 200, body = <?xml version="1.0" encoding="UTF-8"?> <CompleteMultipartUploadResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Location>http://s3.eu-west-2.amazonaws.com/bucketname/test%2F039f4dbc-d90f-462e-a426-6420a8cc0ef0.jpg</Location><Bucket>bucketname</Bucket><Key>test/039f4dbc-d90f-462e-a426-6420a8cc0ef0.jpg</Key><ETag>"f785362cd9c53f730b66f5044b0b17b0-2"</ETag></CompleteMultipartUploadResult> util.js:236:16 [Fine Uploader 5.16.2] Wrong bucket in response to Complete Multipart Upload request for 0. util.js:241:20 [Fine Uploader 5.16.2] Received response status 200 with body: <?xml version="1.0" encoding="UTF-8"?> <CompleteMultipartUploadResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Location>http://s3.eu-west-2.amazonaws.com/bucketname/test%2F039f4dbc-d90f-462e-a426-6420a8cc0ef0.jpg</Location><Bucket>bucketname</Bucket><Key>test/039f4dbc-d90f-462e-a426-6420a8cc0ef0.jpg</Key><ETag>"f785362cd9c53f730b66f5044b0b17b0-2"</ETag></CompleteMultipartUploadResult> util.js:236:16 [Fine Uploader 5.16.2] Problem finalizing chunks for file ID 0 - undefinedI think this is related and for me problem persist in newest version
#1530
in
function handleCompleteRequestCompletebucketEls[0].textContent !== bucketbucketEls[0].textContent = bucketnamebucket = bucketname.s3.eu-west-2.amazonaws.comso no matter what it will always be false
why it doesnt take the bucketname from configuration ?
On the begining there was:
objectProperties: { acl: "private", bucket: qq.bind(function(id) { return qq.s3.util.getBucket(this.getEndpoint(id)); }, this),is it on purpose ? why bucket property should be based on endpoint ? Can I change it or I will ruin something ?