title: Upload Large files using DropZone.js are failing with error code 0
body: <p>I have created a website for file upload based on <a href="https://github.com/vberbenetz/EasyUpload" rel="nofollow noreferrer">https://github.com/vberbenetz/EasyUpload</a>. </p>
  
  <p>This is a Spring Boot project using DropzoneJS and AngularJs with Tomcat as a listener on 8080, uploading the files to a MySQL database. </p>
  
  <p>So far so good... </p>
  
  <p>I can upload and download files just fine, as long as they are just a few KB's in size. I have set the following limits:</p>
  
  <pre><code>/* js/fileAppDirectives */
  
  function dropzone() {
  
  return function(scope, element, attrs) {
  
      var config = {
          url: 'http://xxx.xxx.xxx.xxx:8080/upload',
          maxFilesize: 10000,
          paramName: "uploadfile",
          maxThumbnailFilesize: 10,
          parallelUploads: 1,
          autoProcessQueue: false
      };
  </code></pre>
  
  <p>I have also added application.yml with the following:</p>
  
  <pre><code>multipart:
  max-File-Size:10000MB
  max-Request-Size:10000MB
  </code></pre>
  
  <p>However, whenever I try to upload a file larger than 1 MB, I get the error: "Error: Server responded with code 0"</p>
  
  <p><a href="https://i.stack.imgur.com/RVT1s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RVT1s.png" alt="ErrorCode 0"></a></p>
  
  <p>I don't know how to resolve this.</p>
  
  <p>EDIT:</p>
  
  <p>As suggested <a href="https://www.snip2code.com/Snippet/533110/application-yml" rel="nofollow noreferrer">here</a>, I added this to application.yml.</p>
  
  <pre><code>#in bytes
  file.max.size: 100000000000
  # File size limit
  multipart.maxFileSize: 100000Mb   
  multipart.maxRequestSize: 200000Mb
  </code></pre>
  
  <p>This however presents me with an [Object] [Object] error</p>
  
  <p><a href="https://i.stack.imgur.com/IDmO4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IDmO4.png" alt="enter image description here"></a></p>
  
  <p>Still stuck... please help!</p>