2016-10-18 4 views
0

나노 서버가있는 도커 이미지에서 vsts 에이전트를 실행하려고합니다. 컨테이너에 .Net Core가 이미 설치되어 있습니다. Download Agent 및 config.cmd 명령을 사용하여 vsts 에이전트를 다운로드했습니다. 다음과 같은 오류가있어 여기에나노 서버에서 Vsts 에이전트 실행

An error occurred while sending the request. Failed to connect. Try again or ctrl-c to quit 

는 세부

윈도우 버전입니다 : 마이크로 소프트 윈도우 [버전 10.0.14393]

닷넷 코어 버전 : 1.0.1
닷넷 코어 빌드 : cee57bf6c981237d80aa1631cfe83cb9ba329f12

진단 로그를 보면 다음 오류가 표시됩니다.

[2016-10-18 07:29:46Z ERR Terminal] System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: The parameter is incorrect at System.Net.Http.WinHttpAuthHelper.SetWinHttpCredential(SafeWinHttpHandle requestHandle, ICredentials credentials, Uri uri, UInt32 authScheme, UInt32 authTarget) at System.Net.Http.WinHttpAuthHelper.CheckResponseForAuthentication(WinHttpRequestState state, UInt32& proxyAuthScheme, UInt32& serverAuthScheme) at System.Net.Http.WinHttpHandler.d__101.MoveNext() --- End of inner exception stack trace --- at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.d__3.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.Net.Http.HttpClient.d__58.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.WebApi.VssHttpClientBase.<SendAsync>d__45.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.WebApi.VssHttpClientBase.d__42 1.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.Location.Client.LocationHttpClient.d__6.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.WebApi.Location.VssServerDataProvider.d__41.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 Microsoft.VisualStudio.Services.Agent.AgentServer.d__3.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 Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.d__10.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 Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.d__7.MoveNext() [2016-10-18 07:29:46Z ERR Terminal] WRITE ERROR: Failed to connect. Try again or ctrl-c to quit

아무도 도와 줄 수 있습니까?

+0

구성 에이전트를 구성 할 때 지정한 세부 값은 무엇입니까? 해당 컴퓨터에서 TFS 또는 VSTS에 액세스 할 수 있습니까? –

+0

예, 호스트 컴퓨터에서 동일한 값을 사용하여 VSTS에 연결할 수 있습니다. –

+0

에이전트 구성시 지정한 세부 값은 무엇입니까? –

답변

1

제품 팀에 문제가 제기되었습니다. https://github.com/Microsoft/vsts-agent/issues/483

시나리오가 아직 지원되지 않습니다. VSTS 에이전트는 Windows Nano Server를 실행할 수 없습니다. 다음은 응답 팀에서 발췌 한 것입니다.

"현재이 문제 만은 아닙니다. 에이전트의 Windows 빌드는 현재 Full .NET이 설치되어 있다고 가정하고, .NET> = 4.5인지 확인하는 유효성 검사가 있습니다. .NET Full과 .NET Core를 구별하는 검증이 누락 된 것 같습니다.

Nano에는 .NET Full이없고 .NET Core 만 있습니다. Nano 제약 조건 하에서 에이전트를 통과하고 Nano에서 실행되는 에이전트의 의미를 파악할 수 있습니다. "