Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use it behind company proxy #52

Closed
fabiostawinski opened this issue Jul 30, 2020 · 2 comments
Closed

Cannot use it behind company proxy #52

fabiostawinski opened this issue Jul 30, 2020 · 2 comments

Comments

@fabiostawinski
Copy link

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?

@PMullane
Copy link

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);

@AminTi
Copy link
Collaborator

AminTi commented Jul 13, 2023

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 AminTi closed this as completed Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants