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
During an upload to staging (fileshare.staging.postguard.eu), a single chunk PUT returned HTTP 404:
PUT https://fileshare.staging.postguard.eu/fileupload/e25a6d9e-35a3-404b-9bdc-2c7d8b3da904
[HTTP/2 404 121ms]
Error occurred during encryption: Error: JavaScript error: no further details
Uncaught (in promise) NetworkError: Error uploading chunk
The entire upload was lost — all progress gone, no way to resume.
Likely cause
The cryptify server expires unfinalized uploads after 15 minutes (store.rs purge task). If a large upload takes longer than that, or the connection stalls, the server-side state is purged and subsequent chunk PUTs return 404 because the UUID no longer exists.
Impact
For large files (multiple GiB over slow connections), this is likely to happen regularly
The user gets no warning that their upload timed out — just a generic error
All uploaded bytes are wasted
Suggested fixes
Retry failed chunks — pg-js should retry transient failures (404, 5xx, network errors) with exponential backoff before giving up
Extend or refresh the expiry — each successful chunk PUT should reset the 15-minute expiry timer on the server
Better error messaging — distinguish "upload expired" (404) from other errors so the user understands what happened
Resume support — allow the client to resume from the last successful chunk offset instead of starting over
Problem
During an upload to staging (
fileshare.staging.postguard.eu), a single chunk PUT returned HTTP 404:The entire upload was lost — all progress gone, no way to resume.
Likely cause
The cryptify server expires unfinalized uploads after 15 minutes (
store.rspurge task). If a large upload takes longer than that, or the connection stalls, the server-side state is purged and subsequent chunk PUTs return 404 because the UUID no longer exists.Impact
Suggested fixes