Large uploads timeout at exactly 30sec with monolithic self-hosted server

(#341) Bug Awaiting confirmation media self-hosting

Summary

30sec or 30,000ms timeouts seem to be set in quite a few locations within the code, and setting most of these to 120s or 120000ms hasn't had any impact yet. If someone could pinpoint which of the dozens of entries is in need of changing so our clients can upload more than 40MB on an attachment, that would be wonderful.

Steps to reproduce

  1. Followed https://gist.github.com/PaulMColeman/e7ef82e05035b24300d2ea1954527f10 mostly as it is the only documentation that seems up-to-date
  2. Log in, create new community
  3. Attempt to upload 35MB file, timeout popup happens 30sec into upload.
  4. Attempt 3 more times until upload speeds permit transfer in under 30sec.
  5. Change any one of about 70 hard-coded references to timeouts with a value of 30 or 30000 by setting them to 120s / 120000ms respectively
  6. Rebuild, redeploy, retest and notice zero change.
  7. Surrender after 2 hours of guessing.

Logs or screenshots (optional)

image
  • 556268530-3a764087-18d7-4063-91bf-eb7d36831dbe.png

    556268530-3a764087-18d7-4063-91bf-eb7d36831dbe.png

    499×232 | 18 kB

1 comment

Sign in with Fluxer to comment and vote.
Comment by Rex
RexSystem 1 vote
Status changed from Fixed to Awaiting confirmation
This was closed in a bulk cleanup before Fluxer V2 without being checked or fixed. It may work now, so it is waiting for someone to confirm whether the bug still happens.