Not able to install Azure Devops agent on Different domain server (Client environment server)

Copper Contributor

We are not able to install Azure Devops Agent on different domain servers (client environment servers), below is the exception it is throwing when trying to install the azure devops agent on client servers. Is there any pre-requisites we need to take care so that we can install azure devops agents on different domain servers. Any client environment proxy details required or firewalls needs to be opened on client server etc... please explain in detail..

 

 

 

[2022-08-04 11:38:50Z INFO AgentProcess] Agent package win-x64.
[2022-08-04 11:38:50Z INFO AgentProcess] Running on Windows (X64).
[2022-08-04 11:38:50Z INFO AgentProcess] RuntimeInformation: Microsoft Windows 10.0.14393.
[2022-08-04 11:38:50Z INFO AgentProcess] Version: 2.206.1
[2022-08-04 11:38:50Z INFO AgentProcess] Commit: ef1261a80beac557134fad41cdc42df268e657be
[2022-08-04 11:38:50Z INFO AgentProcess] Culture: en-PH
[2022-08-04 11:38:50Z INFO AgentProcess] UI Culture: en-US
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Bin': 'D:\azure devops\vsts-agent-win-x64-2.206.1\bin'
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Root': 'D:\azure devops\vsts-agent-win-x64-2.206.1'
[2022-08-04 11:38:50Z INFO AgentProcess] Validating directory permissions for: 'D:\azure devops\vsts-agent-win-x64-2.206.1'
[2022-08-04 11:38:50Z INFO PowerShellExeUtil] Generation: '1'
[2022-08-04 11:38:50Z INFO PowerShellExeUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine', value name 'PowerShellVersion': '2.0'
[2022-08-04 11:38:50Z INFO PowerShellExeUtil] Unsupported version. Skipping.
[2022-08-04 11:38:50Z INFO PowerShellExeUtil] Generation: '3'
[2022-08-04 11:38:50Z INFO PowerShellExeUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine', value name 'PowerShellVersion': '5.1.14393.0'
[2022-08-04 11:38:50Z INFO PowerShellExeUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine', value name 'ApplicationBase': 'C:\Windows\System32\WindowsPowerShell\v1.0'
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework', value name 'InstallRoot': 'C:\Windows\Microsoft.NET\Framework64\'
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'SOFTWARE\Microsoft\NET Framework Setup\NDP' contains sub keys:
[2022-08-04 11:38:50Z INFO AgentProcess] 'CDF'
[2022-08-04 11:38:50Z INFO AgentProcess] 'v2.0.50727'
[2022-08-04 11:38:50Z INFO AgentProcess] 'v3.0'
[2022-08-04 11:38:50Z INFO AgentProcess] 'v3.5'
[2022-08-04 11:38:50Z INFO AgentProcess] 'v4'
[2022-08-04 11:38:50Z INFO AgentProcess] 'v4.0'
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727', value name 'Version': '2.0.50727.4927'
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727', value name 'Install': '1'
[2022-08-04 11:38:50Z INFO AgentProcess] Testing directory: 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727'
[2022-08-04 11:38:50Z INFO AgentProcess] Found version: 2.0.50727
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.0', value name 'Version': '3.0.30729.4926'
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.0', value name 'Install': '1'
[2022-08-04 11:38:50Z INFO AgentProcess] Testing directory: 'C:\Windows\Microsoft.NET\Framework64\v3.0'
[2022-08-04 11:38:50Z INFO AgentProcess] Found version: 3.0
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5', value name 'Version': '3.5.30729.4926'
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5', value name 'Install': '1'
[2022-08-04 11:38:50Z INFO AgentProcess] Testing directory: 'C:\Windows\Microsoft.NET\Framework64\v3.5'
[2022-08-04 11:38:50Z INFO AgentProcess] Found version: 3.5
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4', value name 'Version' is null.
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4', value name '' is null.
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v4' contains sub keys:
[2022-08-04 11:38:50Z INFO AgentProcess] 'Client'
[2022-08-04 11:38:50Z INFO AgentProcess] 'Full'
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client', value name 'Version': '4.7.03062'
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client', value name 'Install': '1'
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client', value name 'InstallPath': 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\'
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client', value name 'Release': '461814'
[2022-08-04 11:38:50Z INFO AgentProcess] Type is System.Int32
[2022-08-04 11:38:50Z INFO AgentProcess] Interpreted version: 4.7.0
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full', value name 'Version': '4.7.03062'
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full', value name 'Install': '1'
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full', value name 'InstallPath': 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\'
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full', value name 'Release': '461814'
[2022-08-04 11:38:50Z INFO AgentProcess] Type is System.Int32
[2022-08-04 11:38:50Z INFO AgentProcess] Interpreted version: 4.7.0
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4.0', value name 'Version' is null.
[2022-08-04 11:38:50Z INFO AgentProcess] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4.0', value name '': 'deprecated'
[2022-08-04 11:38:50Z INFO AgentProcess] Found 5 versions:
[2022-08-04 11:38:50Z INFO AgentProcess] 2.0.50727
[2022-08-04 11:38:50Z INFO AgentProcess] 3.0
[2022-08-04 11:38:50Z INFO AgentProcess] 3.5
[2022-08-04 11:38:50Z INFO AgentProcess] 4.7.0
[2022-08-04 11:38:50Z INFO AgentProcess] 4.7.0
[2022-08-04 11:38:50Z INFO AgentProcess] Testing for min NET Framework version: '4.5'
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Bin': 'D:\azure devops\vsts-agent-win-x64-2.206.1\bin'
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Root': 'D:\azure devops\vsts-agent-win-x64-2.206.1'
[2022-08-04 11:38:50Z INFO HostContext] Setting up value for origin: Configure.Password
[2022-08-04 11:38:50Z INFO HostContext] Value is empty.
[2022-08-04 11:38:50Z INFO HostContext] Setting up value for origin: Configure.ProxyPassword
[2022-08-04 11:38:50Z INFO HostContext] Value is empty.
[2022-08-04 11:38:50Z INFO HostContext] Setting up value for origin: Configure.SslClientCert
[2022-08-04 11:38:50Z INFO HostContext] Value is empty.
[2022-08-04 11:38:50Z INFO HostContext] Setting up value for origin: Configure.Token
[2022-08-04 11:38:50Z INFO HostContext] Value is empty.
[2022-08-04 11:38:50Z INFO HostContext] Setting up value for origin: Configure.WindowsLogonPassword
[2022-08-04 11:38:50Z INFO HostContext] Value is empty.
[2022-08-04 11:38:50Z INFO CommandSettings] Configure {
"AcceptTeeEula": false,
"AddDeploymentGroupTags": false,
"AddEnvironmentVirtualMachineResourceTags": false,
"AddMachineGroupTags": false,
"AlwaysExtractTask": false,
"Agent": null,
"CollectionName": null,
"DeploymentGroup": true,
"DeploymentGroupName": null,
"DeploymentGroupTags": null,
"DeploymentPool": false,
"DeploymentPoolName": null,
"EnableServiceSidTypeUnrestricted": false,
"EnvironmentVMResource": false,
"EnvironmentName": null,
"EnvironmentVMResourceTags": null,
"GitUseSChannel": false,
"DisableLogUploads": false,
"MachineGroup": false,
"MachineGroupName": null,
"MachineGroupTags": null,
"MonitorSocketAddress": null,
"NotificationPipeName": null,
"NotificationSocketAddress": null,
"NoRestart": false,
"OverwriteAutoLogon": false,
"Pool": null,
"ProjectName": null,
"ProxyPassword": null,
"ProxyUserName": null,
"ProxyUrl": null,
"Replace": false,
"RunAsAutoLogon": false,
"RunAsService": false,
"RunOnce": false,
"PreventServiceStart": false,
"SslCACert": null,
"SslClientCert": null,
"SslClientCertArchive": null,
"SslClientCertKey": null,
"SslClientCertPassword": null,
"SslSkipCertValidation": true,
"Url": null,
"WindowsLogonAccount": null,
"WindowsLogonPassword": null,
"Work": null,
"Auth": null,
"LaunchBrowser": false,
"Password": null,
"Token": null,
"Unattended": false,
"UserName": null,
"Help": false,
"Version": false
}
[2022-08-04 11:38:50Z INFO AgentProcess] Arguments parsed
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Bin': 'D:\azure devops\vsts-agent-win-x64-2.206.1\bin'
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Root': 'D:\azure devops\vsts-agent-win-x64-2.206.1'
[2022-08-04 11:38:50Z INFO HostContext] Well known config file 'Proxy': 'D:\azure devops\vsts-agent-win-x64-2.206.1\.proxy'
[2022-08-04 11:38:50Z INFO VstsAgentWebProxy] No proxy setting found.
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Bin': 'D:\azure devops\vsts-agent-win-x64-2.206.1\bin'
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Root': 'D:\azure devops\vsts-agent-win-x64-2.206.1'
[2022-08-04 11:38:50Z INFO HostContext] Well known config file 'Certificates': 'D:\azure devops\vsts-agent-win-x64-2.206.1\.certificates'
[2022-08-04 11:38:50Z INFO AgentCertificateManager] No certificate setting found.
[2022-08-04 11:38:50Z INFO Agent] ExecuteCommand
[2022-08-04 11:38:50Z INFO ConfigurationStore] currentAssemblyLocation: D:\azure devops\vsts-agent-win-x64-2.206.1\bin\Agent.Listener.dll
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Bin': 'D:\azure devops\vsts-agent-win-x64-2.206.1\bin'
[2022-08-04 11:38:50Z INFO ConfigurationStore] binPath: D:\azure devops\vsts-agent-win-x64-2.206.1\bin
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Bin': 'D:\azure devops\vsts-agent-win-x64-2.206.1\bin'
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Root': 'D:\azure devops\vsts-agent-win-x64-2.206.1'
[2022-08-04 11:38:50Z INFO ConfigurationStore] RootFolder: D:\azure devops\vsts-agent-win-x64-2.206.1
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Bin': 'D:\azure devops\vsts-agent-win-x64-2.206.1\bin'
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Root': 'D:\azure devops\vsts-agent-win-x64-2.206.1'
[2022-08-04 11:38:50Z INFO HostContext] Well known config file 'Agent': 'D:\azure devops\vsts-agent-win-x64-2.206.1\.agent'
[2022-08-04 11:38:50Z INFO ConfigurationStore] ConfigFilePath: D:\azure devops\vsts-agent-win-x64-2.206.1\.agent
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Bin': 'D:\azure devops\vsts-agent-win-x64-2.206.1\bin'
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Root': 'D:\azure devops\vsts-agent-win-x64-2.206.1'
[2022-08-04 11:38:50Z INFO HostContext] Well known config file 'Credentials': 'D:\azure devops\vsts-agent-win-x64-2.206.1\.credentials'
[2022-08-04 11:38:50Z INFO ConfigurationStore] CredFilePath: D:\azure devops\vsts-agent-win-x64-2.206.1\.credentials
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Bin': 'D:\azure devops\vsts-agent-win-x64-2.206.1\bin'
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Root': 'D:\azure devops\vsts-agent-win-x64-2.206.1'
[2022-08-04 11:38:50Z INFO HostContext] Well known config file 'Service': 'D:\azure devops\vsts-agent-win-x64-2.206.1\.service'
[2022-08-04 11:38:50Z INFO ConfigurationStore] ServiceConfigFilePath: D:\azure devops\vsts-agent-win-x64-2.206.1\.service
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Bin': 'D:\azure devops\vsts-agent-win-x64-2.206.1\bin'
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Root': 'D:\azure devops\vsts-agent-win-x64-2.206.1'
[2022-08-04 11:38:50Z INFO HostContext] Well known config file 'Autologon': 'D:\azure devops\vsts-agent-win-x64-2.206.1\.autologon'
[2022-08-04 11:38:50Z INFO ConfigurationStore] AutoLogonSettingsFilePath: D:\azure devops\vsts-agent-win-x64-2.206.1\.autologon
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Bin': 'D:\azure devops\vsts-agent-win-x64-2.206.1\bin'
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Root': 'D:\azure devops\vsts-agent-win-x64-2.206.1'
[2022-08-04 11:38:50Z INFO HostContext] Well known config file 'Options': 'D:\azure devops\vsts-agent-win-x64-2.206.1\.options'
[2022-08-04 11:38:50Z INFO ConfigurationStore] RuntimeOptionsFilePath: D:\azure devops\vsts-agent-win-x64-2.206.1\.options
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Bin': 'D:\azure devops\vsts-agent-win-x64-2.206.1\bin'
[2022-08-04 11:38:50Z INFO HostContext] Well known directory 'Root': 'D:\azure devops\vsts-agent-win-x64-2.206.1'
[2022-08-04 11:38:50Z INFO HostContext] Well known config file 'SetupInfo': 'D:\azure devops\vsts-agent-win-x64-2.206.1\.setup_info'
[2022-08-04 11:38:50Z INFO ConfigurationStore] SetupInfoFilePath: D:\azure devops\vsts-agent-win-x64-2.206.1\.setup_info
[2022-08-04 11:38:50Z INFO Terminal] WRITE LINE:
___ ______ _ _ _
/ _ \ | ___ (_) | (_)
/ /_\ \_____ _ _ __ ___ | |_/ /_ _ __ ___| |_ _ __ ___ ___
| _ |_ / | | | '__/ _ \ | __/| | '_ \ / _ \ | | '_ \ / _ \/ __|
| | | |/ /| |_| | | | __/ | | | | |_) | __/ | | | | | __/\__ \
\_| |_/___|\__,_|_| \___| \_| |_| .__/ \___|_|_|_| |_|\___||___/
| |
agent v2.206.1 |_| (commit ef1261a)

[2022-08-04 11:38:51Z INFO ConfigurationManager] CheckAgentRootDirectorySecure
[2022-08-04 11:38:51Z INFO HostContext] Well known directory 'Bin': 'D:\azure devops\vsts-agent-win-x64-2.206.1\bin'
[2022-08-04 11:38:51Z INFO HostContext] Well known directory 'Root': 'D:\azure devops\vsts-agent-win-x64-2.206.1'
[2022-08-04 11:38:51Z INFO ConfigurationManager] ConfigureAsync
[2022-08-04 11:38:51Z INFO ConfigurationStore] IsConfigured()
[2022-08-04 11:38:51Z INFO ConfigurationStore] IsConfigured: False
[2022-08-04 11:38:51Z INFO ConfigurationManager] Is configured: False
[2022-08-04 11:38:51Z INFO CommandSettings] Flag 'sslskipcertvalidation': 'True'
[2022-08-04 11:38:51Z INFO ConfigurationManager] Reset agent cert setting base on commandline args.
[2022-08-04 11:38:51Z INFO AgentCertificateManager] Setup agent certificate setting base on configuration inputs.
[2022-08-04 11:38:51Z INFO AgentCertificateManager] Ignore SSL server certificate validation error
[2022-08-04 11:38:51Z INFO ConfigurationManager] Testing for min NET Framework version: '4.6'
[2022-08-04 11:38:51Z INFO CommandSettings] Flag 'deploymentgroup': 'True'
[2022-08-04 11:38:51Z INFO ExtensionManager] Getting extensions for interface: 'Microsoft.VisualStudio.Services.Agent.Listener.Configuration.IConfigurationProvider'
[2022-08-04 11:38:51Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Configuration.BuildReleasesAgentConfigProvider, Agent.Listener
[2022-08-04 11:38:51Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Configuration.DeploymentGroupAgentConfigProvider, Agent.Listener
[2022-08-04 11:38:51Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Configuration.SharedDeploymentAgentConfigProvider, Agent.Listener
[2022-08-04 11:38:51Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Configuration.EnvironmentVMResourceConfigProvider, Agent.Listener
[2022-08-04 11:38:51Z INFO Terminal] WRITE LINE:
[2022-08-04 11:38:51Z INFO Terminal] WRITE LINE: >> Connect:
[2022-08-04 11:38:51Z INFO Terminal] WRITE LINE:
[2022-08-04 11:38:51Z INFO CommandSettings] Arg 'url': ''
[2022-08-04 11:38:51Z INFO CommandSettings] Flag 'unattended': 'False'
[2022-08-04 11:38:51Z INFO PromptManager] ReadValue
[2022-08-04 11:38:51Z INFO Terminal] WRITE: Enter server URL >
[2022-08-04 11:38:51Z INFO Terminal] READ LINE
[2022-08-04 11:39:03Z INFO Terminal] Read value: 'https://dev.azure.com/AbcAzure/'
[2022-08-04 11:39:03Z INFO DeploymentGroupAgentConfigProvider] url - https://dev.azure.com/AbcAzure/
[2022-08-04 11:39:03Z INFO ConfigurationManager] GetCredentialProvider
[2022-08-04 11:39:03Z INFO CommandSettings] Arg 'auth': ''
[2022-08-04 11:39:03Z INFO CommandSettings] Flag 'unattended': 'False'
[2022-08-04 11:39:03Z INFO PromptManager] ReadValue
[2022-08-04 11:39:03Z INFO Terminal] WRITE: Enter authentication type (press enter for PAT) >
[2022-08-04 11:39:03Z INFO Terminal] READ LINE
[2022-08-04 11:39:05Z INFO Terminal] Read value: ''
[2022-08-04 11:39:05Z INFO PromptManager] Falling back to the default: 'PAT'
[2022-08-04 11:39:05Z INFO ConfigurationManager] Creating credential for auth: PAT
[2022-08-04 11:39:05Z INFO CredentialManager] GetCredentialProvider
[2022-08-04 11:39:05Z INFO CredentialManager] Creating type PAT
[2022-08-04 11:39:05Z INFO CredentialManager] Creating credential type: PAT
[2022-08-04 11:39:05Z INFO PersonalAccessToken] EnsureCredential
[2022-08-04 11:39:05Z INFO CommandSettings] Arg 'token': ''
[2022-08-04 11:39:05Z INFO CommandSettings] Flag 'unattended': 'False'
[2022-08-04 11:39:05Z INFO PromptManager] ReadValue
[2022-08-04 11:39:05Z INFO Terminal] WRITE: Enter personal access token >
[2022-08-04 11:39:05Z INFO Terminal] READ SECRET
[2022-08-04 11:40:17Z INFO HostContext] Setting up value for origin: Terminal.ReadSecret
[2022-08-04 11:40:17Z INFO Terminal] Read value: '***'
[2022-08-04 11:40:17Z INFO PersonalAccessToken] GetVssCredentials
[2022-08-04 11:40:17Z INFO PersonalAccessToken] token retrieved: 52 chars
[2022-08-04 11:40:17Z INFO PersonalAccessToken] cred created
[2022-08-04 11:40:17Z INFO ConfigurationManager] cred retrieved
[2022-08-04 11:40:17Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2022-08-04 11:40:38Z WARN VisualStudioServices] Attempt 1 of GET request to https://dev.azure.com/AbcAzure/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=... failed (Socket Error: TimedOut). The operation will be retried in 10.8302379 seconds.
[2022-08-04 11:41:10Z WARN VisualStudioServices] Attempt 2 of GET request to https://dev.azure.com/AbcAzure/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=... failed (Socket Error: TimedOut). The operation will be retried in 12.4028492 seconds.
[2022-08-04 11:41:44Z WARN VisualStudioServices] Attempt 3 of GET request to https://dev.azure.com/AbcAzure/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=... failed (Socket Error: TimedOut). The operation will be retried in 17.1294411 seconds.
[2022-08-04 11:42:22Z ERR VisualStudioServices] Attempt 4 of GET request to https://dev.azure.com/AbcAzure/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=... failed (Socket Error: TimedOut). The maximum number of attempts has been reached.
[2022-08-04 11:42:22Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2022-08-04 11:42:22Z INFO LocationServer] Unable to connect to https://dev.azure.com/AbcAzure/.
[2022-08-04 11:42:22Z ERR LocationServer] System.Net.Http.HttpRequestException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
---> System.Net.Sockets.SocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId, CancellationToken cancellationToken, Object userState)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.GetConnectionDataAsync(ConnectOptions connectOptions, Int32 lastChangeId, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.LocationServer.ConnectAsync(VssConnection jobConnection)
[2022-08-04 11:42:22Z INFO CommandSettings] Flag 'unattended': 'False'
[2022-08-04 11:42:22Z ERR Terminal] WRITE ERROR (exception):
[2022-08-04 11:42:22Z ERR Terminal] System.Net.Http.HttpRequestException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
---> System.Net.Sockets.SocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId, CancellationToken cancellationToken, Object userState)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.GetConnectionDataAsync(ConnectOptions connectOptions, Int32 lastChangeId, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.LocationServer.ConnectAsync(VssConnection jobConnection)
at Microsoft.VisualStudio.Services.Agent.Util.ServerUtil.GetConnectionData(String serverUrl, VssCredentials credentials, ILocationServer locationServer)
at Microsoft.VisualStudio.Services.Agent.Util.ServerUtil.DetermineDeploymentType(String serverUrl, VssCredentials credentials, ILocationServer locationServer)
at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.ConfigureAsync(CommandSettings command)
[2022-08-04 11:42:22Z ERR Terminal] WRITE ERROR: Failed to connect. Try again or ctrl-c to quit
[2022-08-04 11:42:22Z INFO CommandSettings] Arg 'url': ''
[2022-08-04 11:42:22Z INFO CommandSettings] Flag 'unattended': 'False'
[2022-08-04 11:42:22Z INFO PromptManager] ReadValue
[2022-08-04 11:42:22Z INFO Terminal] WRITE: Enter server URL >
[2022-08-04 11:42:22Z INFO Terminal] READ LINE
[2022-08-04 11:42:59Z INFO Terminal] Read value: 'https://dev.azure.com/AbcAzure/'
[2022-08-04 11:42:59Z INFO DeploymentGroupAgentConfigProvider] url - https://dev.azure.com/AbcAzure/
[2022-08-04 11:42:59Z INFO ConfigurationManager] GetCredentialProvider
[2022-08-04 11:42:59Z INFO CommandSettings] Arg 'auth': ''
[2022-08-04 11:42:59Z INFO CommandSettings] Flag 'unattended': 'False'
[2022-08-04 11:42:59Z INFO PromptManager] ReadValue
[2022-08-04 11:42:59Z INFO Terminal] WRITE: Enter authentication type (press enter for PAT) >
[2022-08-04 11:42:59Z INFO Terminal] READ LINE
[2022-08-04 11:43:00Z INFO Terminal] Read value: ''
[2022-08-04 11:43:00Z INFO PromptManager] Falling back to the default: 'PAT'
[2022-08-04 11:43:00Z INFO ConfigurationManager] Creating credential for auth: PAT
[2022-08-04 11:43:00Z INFO CredentialManager] GetCredentialProvider
[2022-08-04 11:43:00Z INFO CredentialManager] Creating type PAT
[2022-08-04 11:43:00Z INFO CredentialManager] Creating credential type: PAT
[2022-08-04 11:43:00Z INFO PersonalAccessToken] EnsureCredential
[2022-08-04 11:43:00Z INFO CommandSettings] Arg 'token': ''
[2022-08-04 11:43:00Z INFO CommandSettings] Flag 'unattended': 'False'
[2022-08-04 11:43:00Z INFO PromptManager] ReadValue
[2022-08-04 11:43:00Z INFO Terminal] WRITE: Enter personal access token >
[2022-08-04 11:43:00Z INFO Terminal] READ SECRET
[2022-08-04 11:43:02Z INFO HostContext] Setting up value for origin: Terminal.ReadSecret
[2022-08-04 11:43:02Z INFO Terminal] Read value: '***'
[2022-08-04 11:43:02Z INFO PersonalAccessToken] GetVssCredentials
[2022-08-04 11:43:02Z INFO PersonalAccessToken] token retrieved: 52 chars
[2022-08-04 11:43:02Z INFO PersonalAccessToken] cred created
[2022-08-04 11:43:02Z INFO ConfigurationManager] cred retrieved
[2022-08-04 11:43:02Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2022-08-04 11:43:23Z WARN VisualStudioServices] Attempt 1 of GET request to https://dev.azure.com/AbcAzure/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=... failed (Socket Error: TimedOut). The operation will be retried in 10.95942 seconds.
[2022-08-04 11:43:55Z WARN VisualStudioServices] Attempt 2 of GET request to https://dev.azure.com/AbcAzure/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=... failed (Socket Error: TimedOut). The operation will be retried in 13.5548755 seconds.
[2022-08-04 11:44:30Z WARN VisualStudioServices] Attempt 3 of GET request to https://dev.azure.com/AbcAzure/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=... failed (Socket Error: TimedOut). The operation will be retried in 16.9237202 seconds.
[2022-08-04 11:45:08Z ERR VisualStudioServices] Attempt 4 of GET request to https://dev.azure.com/AbcAzure/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=... failed (Socket Error: TimedOut). The maximum number of attempts has been reached.
[2022-08-04 11:45:08Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2022-08-04 11:45:08Z INFO LocationServer] Unable to connect to https://dev.azure.com/AbcAzure/.
[2022-08-04 11:45:08Z ERR LocationServer] System.Net.Http.HttpRequestException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
---> System.Net.Sockets.SocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId, CancellationToken cancellationToken, Object userState)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.GetConnectionDataAsync(ConnectOptions connectOptions, Int32 lastChangeId, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.LocationServer.ConnectAsync(VssConnection jobConnection)
[2022-08-04 11:45:08Z INFO CommandSettings] Flag 'unattended': 'False'
[2022-08-04 11:45:08Z ERR Terminal] WRITE ERROR (exception):
[2022-08-04 11:45:08Z ERR Terminal] System.Net.Http.HttpRequestException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
---> System.Net.Sockets.SocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.GetConnectionDataAsync(ConnectOptions connectOptions, Int64 lastChangeId, CancellationToken cancellationToken, Object userState)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.GetConnectionDataAsync(ConnectOptions connectOptions, Int32 lastChangeId, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.ConnectAsync(ConnectOptions connectOptions, CancellationToken cancellationToken)
at Microsoft.VisualStudio.Services.Agent.LocationServer.ConnectAsync(VssConnection jobConnection)
at Microsoft.VisualStudio.Services.Agent.Util.ServerUtil.GetConnectionData(String serverUrl, VssCredentials credentials, ILocationServer locationServer)
at Microsoft.VisualStudio.Services.Agent.Util.ServerUtil.DetermineDeploymentType(String serverUrl, VssCredentials credentials, ILocationServer locationServer)
at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.ConfigureAsync(CommandSettings command)
[2022-08-04 11:45:08Z ERR Terminal] WRITE ERROR: Failed to connect. Try again or ctrl-c to quit
[2022-08-04 11:45:08Z INFO CommandSettings] Arg 'url': ''
[2022-08-04 11:45:08Z INFO CommandSettings] Flag 'unattended': 'False'
[2022-08-04 11:45:08Z INFO PromptManager] ReadValue
[2022-08-04 11:45:08Z INFO Terminal] WRITE: Enter server URL >
[2022-08-04 11:45:08Z INFO Terminal] READ LINE

0 Replies