Unable to connect to this Team Foundation Server

169 views
Skip to first unread message

jamesf...@gmail.com

unread,
Jan 9, 2020, 7:22:17 PM1/9/20
to git-tfs-dev
When running git tfs clone https://dev.azure.com/jamesfarrier/TestTFVC $/TestTFVC --username=email@appsurify.com --password=%Password% I get the error below:


Any idea how to get this to work?




2020-01-10 13:18:13.2219 [Debug] Trying to get HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DevDiv\vs\Servicing\14.0
2020-01-10 13:18:13.2769 [Debug] Trying to get HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\vs\Servicing\14.0
2020-01-10 13:18:13.2919 [Debug] Visual Studio 2015 not found...
2020-01-10 13:18:13.4949 [Debug] git command: Starting process: git rev-parse --show-prefix
2020-01-10 13:18:13.5580 [Debug] git stderr: fatal: not a git repository (or any of the parent directories): .git
2020-01-10 13:18:13.5730 [Debug] git command time: [00:00:00.0690516] rev-parse --show-prefix
2020-01-10 13:18:13.6240 [Debug] Command run:git tfs clone https://dev.azure.com/jamesfarrier/TestTFVC $/TestTFVC --username=email@appsurify.com --password=%pASSWORD%
2020-01-10 13:18:13.6400 [Debug] No authors file used.
2020-01-10 13:18:13.6560 [Debug] git-tfs version 0.30.0.0 (TFS client library 14.0.0.0 (MS)) (64-bit)
2020-01-10 13:18:13.6790 [Debug] git command: Starting process: git init
2020-01-10 13:18:13.7579 [Info] Initialized empty Git repository in C:/Github/TFVC/TestTFVC/.git/

2020-01-10 13:18:13.7904 [Debug] git command time: [00:00:00.1114026] init
2020-01-10 13:18:13.8690 [Debug] No .gitignore file specified...
2020-01-10 13:18:14.5489 [Debug] Looking for assembly Microsoft.TeamFoundation.Common.resources, Version=14.0.0.0, Culture=en-GB, PublicKeyToken=b03f5f7f11d50a3a ...
2020-01-10 13:18:14.6139 [Debug] Trying to get HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\VisualStudio\14.0|InstallDir
2020-01-10 13:18:14.6419 [Debug] Trying to get HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\14.0|InstallDir
2020-01-10 13:18:14.6649 [Debug] Trying to get HKEY_CURRENT_USER\Software\WOW6432Node\Microsoft\WDExpress\14.0_Config|InstallDir
2020-01-10 13:18:14.6859 [Debug] Trying to get HKEY_CURRENT_USER\Software\Microsoft\WDExpress\14.0_Config|InstallDir
2020-01-10 13:18:14.7108 [Debug] Looking for assembly Microsoft.TeamFoundation.Common.resources, Version=14.0.0.0, Culture=en, PublicKeyToken=b03f5f7f11d50a3a ...
2020-01-10 13:18:14.7278 [Debug] Trying to get HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\VisualStudio\14.0|InstallDir
2020-01-10 13:18:14.7419 [Debug] Trying to get HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\14.0|InstallDir
2020-01-10 13:18:14.7558 [Debug] Trying to get HKEY_CURRENT_USER\Software\WOW6432Node\Microsoft\WDExpress\14.0_Config|InstallDir
2020-01-10 13:18:14.7699 [Debug] Trying to get HKEY_CURRENT_USER\Software\Microsoft\WDExpress\14.0_Config|InstallDir
2020-01-10 13:18:15.4249 [Debug] Looking for assembly Microsoft.TeamFoundation.Client.resources, Version=14.0.0.0, Culture=en-GB, PublicKeyToken=b03f5f7f11d50a3a ...
2020-01-10 13:18:15.4419 [Debug] Trying to get HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\VisualStudio\14.0|InstallDir
2020-01-10 13:18:15.4579 [Debug] Trying to get HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\14.0|InstallDir
2020-01-10 13:18:15.4739 [Debug] Trying to get HKEY_CURRENT_USER\Software\WOW6432Node\Microsoft\WDExpress\14.0_Config|InstallDir
2020-01-10 13:18:15.4739 [Debug] Trying to get HKEY_CURRENT_USER\Software\Microsoft\WDExpress\14.0_Config|InstallDir
2020-01-10 13:18:15.4909 [Debug] Looking for assembly Microsoft.TeamFoundation.Client.resources, Version=14.0.0.0, Culture=en, PublicKeyToken=b03f5f7f11d50a3a ...
2020-01-10 13:18:15.4989 [Debug] Trying to get HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\VisualStudio\14.0|InstallDir
2020-01-10 13:18:15.4989 [Debug] Trying to get HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\14.0|InstallDir
2020-01-10 13:18:15.4989 [Debug] Trying to get HKEY_CURRENT_USER\Software\WOW6432Node\Microsoft\WDExpress\14.0_Config|InstallDir
2020-01-10 13:18:15.5199 [Debug] Trying to get HKEY_CURRENT_USER\Software\Microsoft\WDExpress\14.0_Config|InstallDir
2020-01-10 13:18:15.5379 [Debug] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.TeamFoundation.TeamFoundationServiceUnavailableException: TF31002: Unable to connect to this Team Foundation Server: https://dev.azure.com/jamesfarrier/TestTFVC.
Team Foundation Server Url: https://dev.azure.com/jamesfarrier/TestTFVC.
  
Possible reasons for failure include:
- The name, port number, or protocol for the Team Foundation Server is incorrect.
- The Team Foundation Server is offline.
- The password has expired or is incorrect.

Technical information (for administrator):
The remote server returned an error: (404) Not Found. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequestAndGetResponse(HttpWebRequest webRequest, WebException& webException)
   --- End of inner exception stack trace ---
   at Microsoft.TeamFoundation.Client.TfsConnection.EnsureProviderConnected()
   at Microsoft.TeamFoundation.Client.TfsConnection.EnsureAuthenticated()
   at GitTfs.VsCommon.TfsHelperBase.EnsureAuthenticated()
   at GitTfs.Core.GitTfsRemote.EnsureTfsAuthenticated()
   at GitTfs.Core.GitRepository.CreateTfsRemote(RemoteInfo remote, String autocrlf, String ignorecase)
   at GitTfs.Commands.Init.Run(String tfsUrl, String tfsRepositoryPath)
   at GitTfs.Commands.Init.Run(String tfsUrl, String tfsRepositoryPath, String gitRepositoryPath)
   at GitTfs.Commands.Clone.Run(String tfsUrl, String tfsRepositoryPath, String gitRepositoryPath)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at GitTfs.Util.GitTfsCommandRunner.Run(GitTfsCommand command, IList`1 args)
   at GitTfs.GitTfs.Main(GitTfsCommand command, IList`1 unparsedArgs)
   at GitTfs.GitTfs.Run(IList`1 args)
   at GitTfs.Program.Main(String[] args)
2020-01-10 13:18:15.5539 [Error] TF31002: Unable to connect to this Team Foundation Server: https://dev.azure.com/jamesfarrier/TestTFVC.
Team Foundation Server Url: https://dev.azure.com/jamesfarrier/TestTFVC.
  
Possible reasons for failure include:
- The name, port number, or protocol for the Team Foundation Server is incorrect.
- The Team Foundation Server is offline.
- The password has expired or is incorrect.

Technical information (for administrator):
The remote server returned an error: (404) Not Found.
2020-01-10 13:18:15.5764 [Error] The remote server returned an error: (404) Not Found.
2020-01-10 13:18:15.6107 [Warn] All the logs could be found in the log file: C:\Users\james\AppData\Local\git-tfs\git-tfs_log.txt
Reply all
Reply to author
Forward
0 new messages