process-migrator
process-migrator copied to clipboard
Cannot use it behind company proxy
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?
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);
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.