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
We have a Remix app where we have a route that uploads a video file to S3 using the AWS SDK. Generally, the flow we have works. It uses unstable_parseMultipartFormData and an UploadHandler function. We are seeing some errors related to large files.
We've confirmed that it isn't S3 throwing the error, or Remix itself, since there aren't any limitations on request size or response time. We've been able to upload our large file (10 GB+) on a very fast connection, but when the connection is slower it doesn't finish. The culprit looks to be the browser timeout, which times out at exactly 5 minutes.
What's the best way to approach this? If we upload it via the server, we get the timeout. Is there a way to initiate the upload via the client and prevent the browser from killing the request after 5 minutes?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We have a Remix app where we have a route that uploads a video file to S3 using the AWS SDK. Generally, the flow we have works. It uses
unstable_parseMultipartFormData
and anUploadHandler
function. We are seeing some errors related to large files.We've confirmed that it isn't S3 throwing the error, or Remix itself, since there aren't any limitations on request size or response time. We've been able to upload our large file (10 GB+) on a very fast connection, but when the connection is slower it doesn't finish. The culprit looks to be the browser timeout, which times out at exactly 5 minutes.
What's the best way to approach this? If we upload it via the server, we get the timeout. Is there a way to initiate the upload via the client and prevent the browser from killing the request after 5 minutes?
Thanks for your help in advance.
Beta Was this translation helpful? Give feedback.
All reactions