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
I've encountered an issue with the tus-js-client library where the upload process restarts from the beginning if there's an interruption due to a bad internet connection. This behavior occurs only when a chunk size is not specified. Specifying a chunk size prevents the issue but adversely affects the upload speed as described in the tus-js-client API documentation.
I suspect the issue may be related to the upload_offset not being updated on the backend after an internet disruption.
Steps to Reproduce:
Use the tus-js-client library to initiate an upload to the server. (Reference: tus-js-client)
During the upload, simulate an internet disruption (e.g., turn off the network connection).
Re-establish the internet connection and observe the behavior of the upload process.
Expected Result: The upload should resume from the last successful upload_offset.
Actual Result: The upload restarts from 0%.
Suggested Possible Fix: Review how upload_offset is managed in scenarios of internet reconnection and ensure it is properly updated to allow resuming uploads.
The text was updated successfully, but these errors were encountered:
I've encountered an issue with the tus-js-client library where the upload process restarts from the beginning if there's an interruption due to a bad internet connection. This behavior occurs only when a chunk size is not specified. Specifying a chunk size prevents the issue but adversely affects the upload speed as described in the tus-js-client API documentation.
I suspect the issue may be related to the upload_offset not being updated on the backend after an internet disruption.
Steps to Reproduce:
Use the tus-js-client library to initiate an upload to the server. (Reference: tus-js-client)
During the upload, simulate an internet disruption (e.g., turn off the network connection).
Re-establish the internet connection and observe the behavior of the upload process.
Expected Result: The upload should resume from the last successful upload_offset.
Actual Result: The upload restarts from 0%.
Suggested Possible Fix: Review how upload_offset is managed in scenarios of internet reconnection and ensure it is properly updated to allow resuming uploads.
The text was updated successfully, but these errors were encountered: