Error : A task was canceled being thrown when connecting from Robot Tray

Hi All,

I am getting the below error when trying to connect from UiPath Robot after providing Orchestrator URL and Machine key. Can i know how this error can be resolved ?

RemoteException wrapping System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Service.Utils.OrchestratorHttpHandler.d__7.MoveNext()


Hi @raghukram,

Not sure if you’re using the 2019.10 version, and if you’re using the Cloud version you have to restart the robot machine.

Please check this out: UI path update 2019.1.0 causing robot connection issue "Task canceled" - #2 by loginerror

Also make sure the firewall is not blocking the connection and the port is open.


1 Like