I am facing the issue while using ng-file-upload in angularjs. Even though the uploading is in process in backend (node-js code), chrome times out after 2 minutes and throws net::ERR_EMPTY_RESPONSE. I tried adding timeout
Upload.upload({
url: uploadFileAPI,
fields: uploadjson,
file: file,
timeout: 600000
})
but it's still not working. The API takes 4-5 mins to respond, but the call times out after 2 minutes. Can anyone please help ?