I am trying to upload video files that are above 5Gb, I've implemented direct s3 upload from Heroku's documentation
https://devcenter.heroku.com/articles/direct-to-s3-image-uploads-in-rails#jquery-file-upload-callbacks
Everything works correctly until I press submit, after I press submit it tries to upload the file again and I get time out from Heroku. I have no idea how to fix this issue, has anyone encountered something similar?