Uploads limited to 50 Mo in Content Uploader
AnsweredHello,
I am currently doing a Proof of Concept to integrate Box in one of our Line of Business application.
The goal to allow our users to upload large multimedia files using the Content Uploader.
So far I managed to create a custom application and have App Users created for our users.
I've also written the code on our backend API to get a token for an app user, downscope it to only have base_upload scope and send it back to our Javascript front-end.
The front end displays successfully the Content Uploader and we can upload documents to Box with success (they are put in a specific folder under the app user account). We are really happy with the product and the provided documentation and SDK but we seem to have a limitation regarding uploads.
The problem is that it seems that files bigger than 50 Mo won't upload. I get the error "Something went wrong with the upload. Please try again.".
I checked the user settings and the max upload size is 2 Go so I can't find where this limitation is coming from.
Is this because I am on a free developer plan?
We are hosting the app on IIS, can there be a limitation here?
Many thanks for your help.
Maxime
-
Hello,
I did more testing and it looks that this issue is only present in Chrome. I am able to upload 50Mb + files from Firefox and from Internet Explorer 11.
It looks like Chrome makes requests to get an upload session but then doesn't do anything to upload content.
After a few minutes an HTTP DELETE request is done to https://upload.box.com/api/2.0/files/upload_sessions/[SESSION_ID]
Maxime
-
I was able to sort this out but opening an issue on Github.
This is due to some security object not being available if the site is hosted in an non-HTTPS server and using Chrome as a browser.
The workaround is to host the app on HTTPS or wait for a fix in the Control (which looks like coming soon).
Details here: https://github.com/box/box-ui-elements/issues/466
Please sign in to leave a comment.
Comments
2 comments