Giuseppe
Giuseppe

Reputation: 1089

TFS 2013 - Can't build a project

When I try to build using TFS 2013, I get the following error:

If I try to access from external to http://lakebaserver.cloudapp.net:8080/tfs, it works, from the server it self, can't login.

Inner Exception Details:

Exception Message: VS30063: You are not authorized to access http://23.98.64.175:8080. (type VssUnauthorizedException)
Exception Stack Trace:    at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.<SendAsync>d__0.MoveNext()

The Build Controller is configured to use the FQDN:

enter image description here

This is the error:

enter image description here

Upvotes: 1

Views: 131

Answers (1)

Rolf Huisman
Rolf Huisman

Reputation: 1437

If I perform a nslookup of the dns name, the ip I get back is 23.98.64.175 (a public hosting IP in azure). Since your side comments talk about looping it back to the current localhost, I'm guessing this server is both tfs and a buildserver, named serverazure with the public dns name lakebaserver.cloudapp.net and internal name serverazure.lakeba.com.

If that's the case, because you are using multiple dns names for the localhost server, you are probably running into that the local loopback protection. Have you tried to disable that (using powershell):

New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -value "1" -PropertyType dword

Upvotes: 2

Related Questions