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

Can't connect to TFS 2015 OnPremise #41

Closed
maximpashuk opened this issue Aug 3, 2016 · 6 comments
Closed

Can't connect to TFS 2015 OnPremise #41

maximpashuk opened this issue Aug 3, 2016 · 6 comments
Assignees
Labels

Comments

@maximpashuk
Copy link

maximpashuk commented Aug 3, 2016

I am using TFS 2015 OnPremise version 14.95.25229.0

According to this link it is Update 2.1 for TFS2015, so it should be supported by vsts extension.

On 'team login' command I get following error
1

I don't know how can I diagnose why I can't team login to my TFS OnPremise account.

I can create pull request in TFS OnPremise using VS2015 or web interface, but not using VSCode.
If it helps, any git stuff works perfectly from VSCode to TFS OnPremise (fetch\pull\commit\push)
Also I can team login to TFS Online without any problems using access token.

@jeffyoung jeffyoung added the bug label Aug 3, 2016
@jeffyoung jeffyoung self-assigned this Aug 3, 2016
@jeffyoung
Copy link
Contributor

Hi Maxim. Thanks for trying out the extension (but I'm sorry you ran into this issue).

I've investigated and know what the issue is. I'll need to refactor a little but should be able to push out an update soon (in the next day).

@jeffyoung
Copy link
Contributor

I just published a new version (1.104.1) with changes that should allow you to access your TFS server. Please give that version a try and let me know the results. Thanks Maxim!

@christarczon
Copy link

Quick work, thanks! This version now detects my TFS. However, I can't login. The log shows this:

2016-08-03T20:41:25.632Z - info: Getting repository information (vsts/info) with repositoryClient
2016-08-03T20:41:25.632Z - debug: RemoteUrl = https://<myRepoUrl>
2016-08-03T20:41:25.884Z - error: unable to get local issuer certificate

I understand this is probably a separate issue, especially if Maxim reports success.

@maximpashuk
Copy link
Author

maximpashuk commented Aug 4, 2016

Wow, I not expected that fix will come so fast.

I checked out, now 'team login' works just fine - pull requests, builds, work items - all things detected correctly.

I close my issue.

PS. Does any body know if the same kind of extension available for GitHub?

@maximpashuk
Copy link
Author

maximpashuk commented Aug 4, 2016

Answer to myself.
For GitHub https://marketplace.visualstudio.com/items?itemName=HookyQR.GitHubIssues is the goodone.

@scote
Copy link

scote commented Aug 31, 2016

I have the same issue as @maximpashuk. My TFS server is detected but I can't connect to it.
My log show this :

2016-08-31T14:43:24.291Z - info: Login: Username and Password provided as authentication.
2016-08-31T14:43:24.366Z - debug: Parsing values from repositoryInfo as string url
2016-08-31T14:43:24.367Z - debug: Polling interval value (minutes): 5
2016-08-31T14:43:24.367Z - info: *** FOLDER: <myGitRepoFolder>***
2016-08-31T14:43:24.367Z - debug: No account-specific pinned query or global pinned query found. Using default.
2016-08-31T14:43:24.368Z - debug: No account-specific token or global token found.
2016-08-31T14:43:24.390Z - debug: Started ApplicationInsights telemetry
2016-08-31T14:43:24.390Z - info: Getting repository information (vsts/info) with repositoryClient
2016-08-31T14:43:24.390Z - debug: RemoteUrl = https://<myRepoUrl>`
2016-08-31T14:43:24.422Z - error: Failed (vsts/info) call with repositoryClient:  Unauthorized. Check your authentication credentials and try again.

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

No branches or pull requests

4 participants