Hi,
I was trying to build and release UIPATH Robot from Azure DevOps. Code check in and build were successful but during Release pipeline I got an error while trying to push the code to Orchestrator server. Orchestrator Server is hosted in Azure Cloud (VM). Below is the error:
2020-01-21T06:08:09.3718569Z ##[debug]Script stack trace:
2020-01-21T06:08:09.3755575Z ##[debug]at UploadToOrch, D:\a_tasks\UiPathPackage_0e237901-8ece-4bc9-bedf-05ed7f0e98d5\1.0.50\RobotScripts\UiPathPackage-Module.psm1: line 98
2020-01-21T06:08:09.3768372Z ##[debug]at , D:\a_tasks\UiPathPackage_0e237901-8ece-4bc9-bedf-05ed7f0e98d5\1.0.50\RobotScripts\UiPathPackage-Module.psm1: line 52
2020-01-21T06:08:09.3780623Z ##[debug]at Deploy, D:\a_tasks\UiPathPackage_0e237901-8ece-4bc9-bedf-05ed7f0e98d5\1.0.50\RobotScripts\UiPathPackage-Module.psm1: line 52
2020-01-21T06:08:09.3793173Z ##[debug]at Main, D:\a_tasks\UiPathPackage_0e237901-8ece-4bc9-bedf-05ed7f0e98d5\1.0.50\UiPathPackage.ps1: line 83
2020-01-21T06:08:09.3805321Z ##[debug]at , D:\a_tasks\UiPathPackage_0e237901-8ece-4bc9-bedf-05ed7f0e98d5\1.0.50\UiPathPackage.ps1: line 101
2020-01-21T06:08:09.3819409Z ##[debug]at , : line 1
2020-01-21T06:08:09.3833321Z ##[debug]at , : line 22
2020-01-21T06:08:09.3845938Z ##[debug]at , : line 18
2020-01-21T06:08:09.3857878Z ##[debug]at , : line 1
2020-01-21T06:08:09.3877758Z ##[debug]Exception:
2020-01-21T06:08:09.3953818Z ##[debug]System.Net.Http.HttpRequestException: An error occurred while sending the request. —> System.Net.WebException: The remote name could not be resolved: ‘azeunbprd001.guww.net’
2020-01-21T06:08:09.3968477Z ##[debug] at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
2020-01-21T06:08:09.3980048Z ##[debug] at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
2020-01-21T06:08:09.3993808Z ##[debug] — End of inner exception stack trace —
2020-01-21T06:08:09.4006792Z ##[debug] at Microsoft.Rest.RetryDelegatingHandler.d__15.MoveNext()
2020-01-21T06:08:09.4018907Z ##[debug]— End of stack trace from previous location where exception was thrown —
2020-01-21T06:08:09.4031099Z ##[debug] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-01-21T06:08:09.4043992Z ##[debug] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-01-21T06:08:09.4056213Z ##[debug] at UiPath.Web.Client20181.Processes.d__8.MoveNext() in D:\a\1\s\UiPath.Web.Client\generated20181\Processes.cs:line 625
2020-01-21T06:08:09.4067825Z ##[debug]— End of stack trace from previous location where exception was thrown —
2020-01-21T06:08:09.4079876Z ##[debug] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-01-21T06:08:09.4092656Z ##[debug] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-01-21T06:08:09.4105477Z ##[debug] at UiPath.Web.Client20181.ProcessesExtensions.d__7.MoveNext() in D:\a\1\s\UiPath.Web.Client\generated20181\ProcessesExtensions.cs:line 214
2020-01-21T06:08:09.4118087Z ##[debug]— End of stack trace from previous location where exception was thrown —
2020-01-21T06:08:09.4129423Z ##[debug] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-01-21T06:08:09.4140833Z ##[debug] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-01-21T06:08:09.4152283Z ##[debug] at UiPath.Web.Client20181.ProcessesExtensions.UploadPackage(IProcesses operations, Stream file) in D:\a\1\s\UiPath.Web.Client\generated20181\ProcessesExtensions.cs:line 195
2020-01-21T06:08:09.4164895Z ##[debug] at UiPath.PowerShell.Util.UiPathCmdlet.HandleHttpOperationException(Action action) in D:\a\1\s\UiPath.PowerShell\Util\UiPathCmdlet.cs:line 102
2020-01-21T06:08:09.4179149Z ##[debug] at UiPath.PowerShell.Cmdlets.AddPackage.ProcessRecord() in D:\a\1\s\UiPath.PowerShell\Cmdlets\AddPackage.cs:line 18
2020-01-21T06:08:09.4190130Z ##[debug] at System.Management.Automation.CommandProcessor.ProcessRecord()
2020-01-21T06:08:09.4248795Z ##[error]An error occurred while sending the request.
Seems like the VM server is not allowing to get the request from Azure DevOps. Is there any solution for this issue?
Thanks,
-Sougata Choudhury