Ionic upload with proxy


#1

Hi, from what I can see on the forums, there is a problem to run the upload behind a proxy. I get a JS error from the form.submit call in the …\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\lib\upload.js. The response is undefined and fails on response.setEncoding (Upload.getDirectUploadKey). Is there any more information about this or an ETA for a fix?


#2

I too need a solution to this problem. There is a git bug filed here:

There is a solution that has a PR (that has not been reviewed in 3 months) here:

There is a PR that has been submitted to the underlying FormData library for the issue (that is also having problems getting through the git PR process) here:

Any information or update on Ionic’s role in solving this problem is greatly appreciated. We need this to be fixed to automate our build process using ‘ionic package’ before the Beta period is over :slight_smile: