Page MenuHomePhabricator

Uploadwizard sometimes fails "Internal error: Server failed to publish temporary file"
Open, Needs TriagePublic

Description

Sometimes (maybe more with larger files) UploadWizard fails after the "Describe" stage with "Internal error: Server failed to publish temporary file" like in the screenshot below:

20231220 18_00_43-Greenshot crop.png (3×7 px, 1 MB)

AIUI at this point the image has been successfully uploaded (into a temporary location?) and thumbnailed (see the thumb in the screenshot above), but then something goes wrong later in the process.

AFAICT swift and thumbor are both currently behaving themselves, so it'd be useful to know what UploadWizard is doing at this point, and if it could be made to produce and/or log a more helpful error message to aid debugging.

[this task arises from T353498 which was about failure to complete the initial upload ("Upload" step), but that seems to be working]

Event Timeline

@MatthewVernon thank you for creating this new task :). I hope the issue can be solved soon