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 }}
Repository navigation
TUS uploads can get permanently stuck after failed resume; stale uploadinfo is not reset since 3.0 #898
Folder::loadSyncOptions() returns 20 network jobs for HTTP/2.
OwncloudPropagator::maximumActiveTransferJob() now uses std::max(3, ceil(parallelJobs/2)), which allows 10 active transfer jobs with HTTP/2 instead of capping at 3.
Backend advertises TUS creation-with-upload with default 10MB max chunk size.
The issue is not only that uploads fail; after failure the client appears to get stuck permanently. It does not retry from a clean state.
Suspected root cause:
TUS upload info is persisted in the sync journal.
On the next sync, PropagateUploadFileTUS::doStartUpload() reuses the persisted UploadInfo URL and starts with a HEAD request.
If that persisted TUS location is stale/broken, commonErrorHandling() aborts the upload.
The failed UploadInfo is not cleared in that error path.
PR Remove unused code from UploadInfo #637 removed checkResettingErrors() and UploadInfo::_errorCount, so repeated failures no longer reset the saved upload state.
PR Don't persist invalid upload info #638 only avoids persisting invalid upload info without a location, but does not handle stale/broken locations that were already persisted.
changed the title [-]Windows: large batch uploads regress after 3.0 with HTTP/2/TUS, likely due to excessive parallel transfers[/-][+]TUS uploads can get permanently stuck after failed resume; stale uploadinfo is not reset since 3.0[/+]on May 9, 2026
If that persisted TUS location is stale/broken, commonErrorHandling() aborts the upload.
You mean server side?
Do you have any more info which error is shown in client?
Not sure - because it works good for other Clients. I tried uploading lot of stuff in my Cloud, couldn't reproduce the error anymore. Maybe its a very special edge-case, where it is just not stable for different scenarios. (Example: if you run a VPS, u share the Compute power, if sometimes a server runs heavy tasks u can get throttled - maybe then it could cause such errors?, so that's what i mean, maybe it is somehow fixed now, maybe it is just a special case which isn't very easy to reproduce.)
The issue is more, that the Client either doesn't show anything OR force sync won't fix a broken state. That issue was when the 3.0 got stable released i think, some months ago. I tried uploadign stuff yesterday, and it worked fine. Those files were my Backups before i resetted my Computers, so it is a kinda heavy upload task.
Activity
zerox80 commentedon May 9, 2026
The issue is not only that uploads fail; after failure the client appears to get stuck permanently. It does not retry from a clean state.
Suspected root cause:
[-]Windows: large batch uploads regress after 3.0 with HTTP/2/TUS, likely due to excessive parallel transfers[/-][+]TUS uploads can get permanently stuck after failed resume; stale uploadinfo is not reset since 3.0[/+]guruz commentedon Jun 2, 2026
You mean server side?
Do you have any more info which error is shown in client?
guruz commentedon Jun 2, 2026
Are you saying this leads it to be stale on server side or?
Would this also mean one needs files with multiple chunks to get to reproduce this?
zerox80 commentedon Jun 4, 2026
I think the HTTP2 changes are just too much, i guess HTTP1 logic hasn't been touched in 3.0.
zerox80 commentedon Jun 4, 2026
Not sure - because it works good for other Clients. I tried uploading lot of stuff in my Cloud, couldn't reproduce the error anymore. Maybe its a very special edge-case, where it is just not stable for different scenarios. (Example: if you run a VPS, u share the Compute power, if sometimes a server runs heavy tasks u can get throttled - maybe then it could cause such errors?, so that's what i mean, maybe it is somehow fixed now, maybe it is just a special case which isn't very easy to reproduce.)
The issue is more, that the Client either doesn't show anything OR force sync won't fix a broken state. That issue was when the 3.0 got stable released i think, some months ago. I tried uploadign stuff yesterday, and it worked fine. Those files were my Backups before i resetted my Computers, so it is a kinda heavy upload task.
fix: harden recoverable-error handling so the sync self-heals
github-actions commentedon Jul 5, 2026
This issue was marked stale because it has been open for 30 days with no activity. Remove the stale label or comment or this will be closed in 7 days.
github-actions commentedon Jul 13, 2026
The issue was marked as stale for 7 days and closed automatically.
fix(libsync): resume a TUS upload from the server's offset on a 409 m…