Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Unable to connect to VSTS #51

Closed
evanportwood opened this issue Sep 15, 2016 · 4 comments
Closed

Unable to connect to VSTS #51

evanportwood opened this issue Sep 15, 2016 · 4 comments
Assignees

Comments

@evanportwood
Copy link

Using v1.5, I have provided my access token which appeared to be accepted, but looking in the status bar the extension shows that the connection has been refused. I have already set my proxy in user.settings, and do not have any other issues with accessing extensions, but I'm still unable to connect to VSTS.

Does this extension use this proxy information?

econnrefused

@jeffyoung jeffyoung self-assigned this Sep 15, 2016
@jeffyoung
Copy link
Contributor

Hi @evanportwood. Today, the extension doesn't support using a proxy so you're seeing behavior similar to #19.

However, I just took a look at the PR that was blocking the use of the proxy in vsts-node-api and it appears to have been merged (relatively) recently. The current version of the VS Code extension, 1.104.1, is using v3.1.1 of the vsts-node-api. In v4 of the vsts-node-api, a breaking change was made in which the API was moved from a Q.Promises or callback model to the async/await model. It was after that major version change was made that the PR I was blocked on was merged. Therefore, what I need to do is the work to take the latest version of the vsts-node-api and update the extension.

At this point I don't have an ETA for when that will get done but I'll make it a high priority (ideally it'll be in the next release). Thanks for asking (and for trying out the extension)!

@evanportwood
Copy link
Author

Thanks for the quick and informative feedback! I appreciate you making
this a priority and look forward to the update.

On Thu, Sep 15, 2016, 3:07 PM Jeff Young notifications@github.com wrote:

Hi @evanportwood https://github.com/evanportwood. Today, the extension
doesn't support using a proxy so you're seeing behavior similar to #19
#19.

However, I just took a look at the PR that was blocking the use of the
proxy in vsts-node-api and it appears to have been merged (relatively)
recently. The current version of the VS Code extension, 1.104.1, is using
v3.1.1 of the vsts-node-api. In v4 of the vsts-node-api, a breaking change
was made in which the API was moved from a Q.Promises or callback model to
the async/await model. It was after that major version change was made that
the PR I was blocked on was merged. Therefore, what I need to do is the
work to take the latest version of the vsts-node-api and update the
extension.

At this point I don't have an ETA for when that will get done but I'll
make it a high priority (ideally it'll be in the next release). Thanks for
asking (and for trying out the extension)!


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#51 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAF5BYhTRP7WY8fH9SfyplZijTE4XHNAks5qqZdogaJpZM4J-NA2
.

@jeffyoung
Copy link
Contributor

Hi @evanportwood. The vsts-node-api added some support for proxies (just not authenticated proxies) and this should be able to work at this time (a bit more information at #19). I'd be interested in hearing about your experience with an updated extension. Apologies for taking so long to update the issue.

@jeffyoung
Copy link
Contributor

At this point, an unauthenticated proxy should work (by setting http_proxy and https_proxy env vars; http_proxy in VS Code settings will not do). Authenticated proxies are still not supported by the vsts-node-api dependency.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants