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 upload - Request gets cancelled #1561
Comments
Yes, I'm having same issue whenever i upload large file upload gets canceled after 30 seconds |
I am also experiencing this as well. My CORS are set correctly. I am able to curl the file into my web server no problem, takes about 2 minutes on my crappy internet connection. But it gets to about 6 - 18% before just stopping in firefox or chrome or safari |
Update: @vinaykharecha I have the same issue. File gets |
@oak-tree I will change my timeout to something super long and report back. |
@oak-tree this seemed to work for me, set the timeout to |
@warmwaffles thanks for the info. seems that according to the |
The trouble is that for some reason the timeout default is 30 seconds even though the documentation reports that it is set to 0 by default. You need to explicitly set it to 0 in your code. |
This needs to be changed in the documentation. http://www.dropzonejs.com/#configuration-options
Its default value is 30 seconds. |
Since @enyo doesn't use GitHub anymore for this project I thought I'd post a link to the open issue at gitlab: https://gitlab.com/meno/dropzone/issues/89 The problem is deeper than just the timeout default. All defaults on the website are set to |
Default value for timeout should not be set to 30s. It should not be limited like in every other uploader. It is stupid imo. |
It's now reported as 30 seconds by default on the Dropzone website, but I agree, it's a strange default given this can be used to show the progress of large file uploads (that's the point right?). Anyway, this repo at GitHub isn't used anymore so open an issue on Gitlab https://gitlab.com/meno/dropzone with your concerns. I also wouldn't recommend calling something stupid given this is somebody's hard work and you get it for free :) |
I am trying to upload video files of size 40-50mb. The progress bar freezes at a certain point and if i observe in my Networks tab on Google Chrome. The request gets cancelled and there is no error and the HTTP response header is empty.
However this is working for both image/video files which are around 10-15mb.
My code:
Dropzone.autoDiscover = false; var myDropzone = new Dropzone("#my-awesome-dropzone", { maxFiles: 1, parallelUploads: 100, acceptedFiles: '.3gp,.3gp2,.h261,.h263,.h264,.jpgv,.jpm,.jpgm,.mp4,.mp4v,.mpg4,.mpeg,.mpg,.mpe,.m1v,.m2v,.ogv,.qt,.mov,.fli,.flv,.mks,.mkv,.wmv,.avi,.movie,.smv,.g3,.jpeg,.jpg,.jpe,.png,.btif,.sgi,.svg,.tiff,.tif', previewTemplate: previewTemplate, previewsContainer: "#previews", autoProcessQueue:false, clickable: ".fileinput-button", });
P.S: It is not a server side issue as i have tried uploading without Dropzone and everything works smoothly.
The text was updated successfully, but these errors were encountered: