Наша кодовая база находится на TFS 2017. Мы пытаемся настроить Агентов тестирования локально на разных компьютерах, чтобы они могли распределять нагрузку при выполнении тестов. К сожалению, при запуске команды ./config мы сталкиваемся со следующим сообщением об ошибке.
[2018-04-30 07:35:21Z INFO RSAEncryptedFileKeyManager] Loading RSA key parameters from file C:\agent\.credentials_rsaparams
[2018-04-30 07:35:22Z ERR VisualStudioServices] POST request to https://tfs-dev.cebglobal.com/tfs/_apis/oauth2/token failed. HTTP Status: MethodNotAllowed
[2018-04-30 07:35:22Z ERR VisualStudioServices] OAuth issued token provider instance 16345490 failed to retrieve a token.
Reason: Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException: {"count":1,"value":{"Message":"The requested resource does not support http method 'GET'."}}
at Microsoft.VisualStudio.Services.OAuth.VssOAuthTokenHttpClient.<GetTokenAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.OAuth.VssOAuthTokenProvider.<OnGetTokenAsync>d__14.MoveNext()
[2018-04-30 07:35:22Z WARN VisualStudioServices] Authentication failed with status code 401.
Date: Mon, 30 Apr 2018 07:35:22 GMT
P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
Server: Microsoft-IIS/8.5
WWW-Authenticate: Bearer, Basic realm="tfs-dev.cebglobal.com", Negotiate, NTLM
X-TFS-ProcessId: 6ff0ab0f-5bc4-4756-bf8b-f1e2d9aec72d
ActivityId: cc1dfe13-8178-4102-984c-dc5587ffe193
X-TFS-Session: 2fbb527d-d145-4ffd-934b-44ab2bf4a0c9
X-VSS-E2EID: 22cf0b80-4ec5-4f2d-8730-aaaa26fe96fa
X-FRAME-OPTIONS: SAMEORIGIN
X-TFS-SoapException: %3c%3fxml+version%3d%221.0%22+encoding%3d%22utf-8%22%3f%3e%3csoap%3aEnvelope+xmlns%3asoap%3d%22http%3a%2f%2fwww.w3.org%2f2003%2f05%2fsoap-envelope%22%3e%3csoap%3aBody%3e%3csoap%3aFault%3e%3csoap%3aCode%3e%3csoap%3aValue%3esoap%3aReceiver%3c%2fsoap%3aValue%3e%3csoap%3aSubcode%3e%3csoap%3aValue%3eUnauthorizedRequestException%3c%2fsoap%3aValue%3e%3c%2fsoap%3aSubcode%3e%3c%2fsoap%3aCode%3e%3csoap%3aReason%3e%3csoap%3aText+xml%3alang%3d%22en%22%3eTF400813%3a+Resource+not+available+for+anonymous+access.+Client+authentication+required.%3c%2fsoap%3aText%3e%3c%2fsoap%3aReason%3e%3c%2fsoap%3aFault%3e%3c%2fsoap%3aBody%3e%3c%2fsoap%3aEnvelope%3e
X-TFS-ServiceError: TF400813%3a+Resource+not+available+for+anonymous+access.+Client+authentication+required.
X-Powered-By: ASP.NET
Lfs-Authenticate: NTLM
X-Content-Type-Options: nosniff
Я прочитал много статей и следил за всеми ранее предложенными изменениями.
1. И Windows, и обычная аутентификация включены на уровне TFS IIS
Любая помощь очень ценится.