23 / resumable.js

A JavaScript library for providing multiple simultaneous, stable, fault-tolerant and resumable/restartable uploads via the HTML5 File API.
MIT License
4.65k stars 612 forks source link

Upload stops in the middle of a file and doesn't continue #569

Open dannydjrs opened 4 years ago

dannydjrs commented 4 years ago

For some reason, the upload is stopping in the middle of an upload. For example, at chunk 338 out of 926 and doesn't continue.

If I .pause() then .upload() again it seems to continue however chunks are then corrupted and doesn't upload correctly (confirmed by comparing hashes).

If I refresh the page and attempt a new upload of the same file, it goes through all the test requests and continues the upload just fine from that point.

I've been investigating into why this may be but cannot find what is wrong.

dannydjrs commented 4 years ago

Seems to only occur using chrome, even with incognito, no extensions. A request can get stuck on "pending" in network tab despite being served by the backend.

mmrosatab commented 3 years ago

@dannydjrs Hello, did you implement testMethod on the server side?