Please explain vsts agent error log
See original GitHub issueHi! During agent autoupdate I can see this error in agent log ( taken from _diag/
folder):
[2018-10-29 15:53:51Z INFO SelfUpdater] Version '2.141.1' of 'agent' package available in server.
[2018-10-29 15:53:51Z INFO SelfUpdater] Current running agent version is 2.140.2
[2018-10-29 15:53:51Z INFO SelfUpdater] An update is available.
[2018-10-29 15:53:51Z INFO Terminal] WRITE LINE: Agent update in progress, do not shutdown agent.
[2018-10-29 15:53:51Z INFO Terminal] WRITE LINE: Downloading 2.141.1 agent
[2018-10-29 15:53:51Z INFO HostContext] Well known directory 'Bin': 'C:\agent33\bin'
[2018-10-29 15:53:51Z INFO HostContext] Well known directory 'Root': 'C:\agent33'
[2018-10-29 15:53:51Z INFO HostContext] Well known directory 'Work': 'C:\agent33\_work'
[2018-10-29 15:53:51Z INFO SelfUpdater] Save latest agent into C:\agent33\_work\_update\agent.zip.
[2018-10-29 15:53:52Z INFO JobDispatcher] Shutting down JobDispatcher. Make sure all WorkerDispatcher has finished.
[2018-10-29 15:53:52Z ERR Terminal] WRITE ERROR: An error occurred: An error occurred while sending the request.
[2018-10-29 15:53:52Z ERR AgentProcess] System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: The connection with the server was terminated abnormally
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.Tasks.RendezvousAwaitable`1.GetResult()
at System.Net.Http.WinHttpHandler.<StartRequest>d__105.MoveNext()
--- End of inner exception stack trace ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at System.Net.Http.HttpClient.<FinishSendAsyncUnbuffered>d__59.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 System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at System.Net.Http.HttpClient.<FinishGetStreamAsync>d__33.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.Agent.Listener.SelfUpdater.<DownloadLatestAgent>d__10.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.Agent.Listener.SelfUpdater.<SelfUpdate>d__8.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.Agent.Listener.Agent.<RunAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.VisualStudio.Services.Agent.Listener.Agent.<RunAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.VisualStudio.Services.Agent.Listener.Agent.<RunAsync>d__8.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.Agent.Listener.Agent.<ExecuteCommand>d__5.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.Agent.Listener.Program.<MainAsync>d__1.MoveNext()
Could anyone explain what does it mean? ( “The connection with the server was terminated abnormally”), I’d like to address this to our netwrok team, however I’d like to get vsts agent maintainers input first … Thanks
Issue Analytics
- State:
- Created 5 years ago
- Comments:29 (15 by maintainers)
Top Results From Across the Web
Please explain vsts agent error log · Issue #1913
Hi! During agent autoupdate I can see this error in agent log ( taken from _diag/ folder): [2018-10-29 15:53:51Z INFO SelfUpdater] Version ...
Read more >Where are the VSTS logs on a self hosted Azure DevOps ...
If the agent is Self Hosted (Private Agent) the logs are in the _diag folder (the folder exist in agnet root folder). Share....
Read more >Review logs to diagnose pipeline issues - Azure
Agent diagnostic logs provide a record of how the agent was configured and what happened when it ran. Look for the agent log...
Read more >Troubleshoot pipeline runs - Azure DevOps
If the agent is configured to run as a service on Linux, macOS, or Windows, then it is not running within an interactive...
Read more >Azure DevOps On-Premise Agent Failure to talk to dev. ...
Detailed error message when the build/release failed. If you have some username/password/private information defined as normal variables, please remove it from ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@melezhik the error from that winhttp exception is:
https://docs.microsoft.com/en-us/windows/desktop/winhttp/error-messages
can you hit the agent download url from the machine that having the problem from IE? https://vstsagentpackage.azureedge.net/agent/2.141.1/vsts-agent-win-x64-2.141.1.zip
make sure you configure the agent to use the same proxy server as your browser.
i am going to close this issue as it is not an actual agent issue and the question has be answered.