muxinc / upchunk

Uploads Chunks! Takes big files, splits them up, then uploads each one with care (and PUT requests).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chunk upload fails towards the end and errors out - but video is successfully uploaded

armouti opened this issue · comments

Chunks seem to always fail to upload towards the end, somewhere between 80% and 95% (depending on the size of the video), and then the error event eventually gets thrown, but in the dashboard I can see the video has successfully uploaded.
Here's a screenshot:
Screenshot 2020-08-20 at 02 00 24

solved by @geneticgenesis, the fix was to use the cors_origin argument when creating the upload URL, which I was omitting.

Thanks @armouti !