我希望在带有 nano 服务器的 docker 映像上运行 vsts 代理。容器上已经安装了 .Net Core。我使用下载代理和 config.cmd 命令下载了 vsts 代理。收到以下错误
An error occurred while sending the request. Failed to connect. Try again or ctrl-c to quit
这是详细信息
Windows 版本:Microsoft Windows [版本 10.0.14393]
.Net Core 版本:1.0.1
.Net Core 构建:cee57bf6c981237d80aa1631cfe83cb9ba329f12
查看诊断日志,我收到以下错误
[2016-10-18 07:29:46Z ERR Terminal] System.Net.Http.HttpRequestException:发送请求时出错。---> System.Net.Http.WinHttpException: System.Net.Http.WinHttpAuthHelper 的 System.Net.Http.WinHttpAuthHelper.SetWinHttpCredential(SafeWinHttpHandle requestHandle, ICredentials credentials, Uri uri, UInt32 authScheme, UInt32 authTarget) 的参数不正确.CheckResponseForAuthentication(WinHttpRequestState state, UInt32& proxyAuthScheme, UInt32& serverAuthScheme) at System.Net.Http.WinHttpHandler.d__101.MoveNext() --- End of internal exception stack trace --- at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.d__3 .MoveNext() --- 在 System.Runtime.CompilerServices.TaskAwaiter 处从先前引发异常的位置结束堆栈跟踪。
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.Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.d__42 处的ConfiguredTaskAwaiter.GetResult()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
MoveNext() [2016-10-18 07:29:46Z ERR Terminal] 写入错误:连接失败。再试一次或按 ctrl-c 退出
有人可以帮忙吗?