[2016-12-19 02:22:41Z INFO Worker] Listening for cancel message from the channel.
[2016-12-19 02:22:41Z INFO Worker] Waiting for the job to complete or for a cancel message from the channel.
[2016-12-19 02:22:42Z INFO Worker] Job completed.
[2016-12-19 02:22:42Z ERR Program] Microsoft.VisualStudio.Services.Common.VssUnauthorizedException: VS30063: You are not authorized to access http://tfs2015.mysite:8080.
at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.d17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.d3.MoveNext()
Now I know the agent can't access /tfs/DefaultCollection/_apis/...,
but curl works very well using the same user and password, and I get a good JSON return.
On-Premises TFS2015, All configurations were done following the instructions. Agent started normally.
but if a build job was sent to this agent, it failed.
logs
I check the http tracing
Now I know the agent can't access /tfs/DefaultCollection/_apis/..., but curl works very well using the same user and password, and I get a good JSON return.