process-migrator icon indicating copy to clipboard operation
process-migrator copied to clipboard

Cannot use it behind company proxy

Open fabiostawinski opened this issue 4 years ago • 1 comments

Hello, I can use the tool normally when I am out of VPN, but in my company, it gets blocked as requires a proxy. The proxy settings here are set up in windows, but seems it is not considering them. There is some parameter to pass the proxy or any hint on how to use it behind a proxy?

fabiostawinski avatar Jul 30 '20 14:07 fabiostawinski

Hi, We had a similar issue with proxy settings blocking this. The workaround was to hardcode in the company proxy settings,

Replace line “const vstsWebApi = new vsts.WebApi(accountUrl, authHandler);” in “node_modules\process-migrator\build\NodeJs\nodejs\NodeJsUtilities.js” as per the below.

const options = {

proxy: {

    proxyUrl: "[http://%3cPROXY%20URL%3e:%3cPROXY%20PORT%3e]http://<PROXY URL>:<PROXY PORT>",  //needs to be prefixed with http(s) 

    proxyUsername: "<PROXY USERNAME>",

    proxyPassword: "<PROXY PASSWORD>"

},

ignoreSslError: true

};

const vstsWebApi = new vsts.WebApi(accountUrl, authHandler, options);

PMullane avatar Feb 10 '21 15:02 PMullane

Our team is dedicated to providing continuous support for this extension. To ensure efficient issue resolution, we will close any old or inactive issues. If you come across any new problems, please create a ticket, and we will promptly address and resolve them. Thank you for your cooperation and understanding.

AminTi avatar Jul 13 '23 12:07 AminTi