-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Large file uploads not working under Cloudflare #856
Comments
cloudflare limits how big the files can be through the proxy; it blocks it because of poor performance issues otherwise. There are two path forwards: 1. implement chunk uploading w jquery file uploading and do the same for bulkrax. This would be a big improvement for Hyrax and all of our apps. ~ 1 day |
https://github.com/blueimp/jQuery-File-Upload -> chunked uploads is a feature. this gem is archived/no longer supported
https://github.com/vgantchev/rails-resumable-jquery-fileupload TODO: extract the code from https://github.com/vgantchev/rails-resumable-jquery-fileupload How does this tie in with carrierwave? |
# Summary Updates submodule to pull in chunk upload support from hyrax. Issue: - #856 (HYRAX) ref: - samvera/hyrax#6931 (HYRAX) - samvera/hyku#2371
QA RESULTS: ❌ FAILtested on STAGING Sometimes files fail the valkyrie characertization job. After further investigation, it seems like these files had issues when chunk uploading. We set the chunk size to 10MB, and at the time it's trying to run the im_identify commands we are dealing with the last chunk instead of the full file. So far this has only been observed in staging. |
The repo is rejecting all files over 150 MB, according to my student worker. This file size is obviously wildly too small for our purposes. Can you help us fix this issue fairly urgently? It is a blocker with everything we try to do.
Work I needed to add a TIFF to:
https://adl.b2.adventistdigitallibrary.org/concern/generic_works/20213926_illustrations_of_miller_s_views_of_the_end_of_the_world_in_1843/
Error message and failure to upload:
Dropbox link to the TIFF:
https://www.dropbox.com/scl/fo/mipr9ujtltqgxempmgdrp/APxFmQU3El5vlFC_pRX9zJI?rlkey=c2dz52x6zrowg6knytoe26vnw&st=c314ffy5&dl=0
Originally posted by @KatharineV in #848 (comment)
Testing Instructions
Manually create a work and upload a large tiff image. Ideally use the one the client previously had issues with.
See that the upload completes without error.
Save the work, wait for the jobs to complete.
Ensure the file gets attached in the work's items section and displayed in the work's show page.
The text was updated successfully, but these errors were encountered: