Learning Ui Path
Learning Ui Path
Lesson 7 Recap
Robot Setup – Connect to
Orchestrator
academy.uipath.com
Manually connecting robots to Orchestrator
(using the Settings dialog box)
Provision the
On the robot
robot in Orchestrator
machine, click the UiPathfirst; retain
icon in the tray
the system
Robot Key
Click the gear button and select Settings – you need to have
elevated rights to open Settings
Provide the Robot Key copied earlier and the Orchestrator URL
Connecting robots to Orchestrator – Potential Errors
Errors that can appear when we try to connect the robot to Orchestrator:
There are no robots with the Cancelled task, bad request, or the
specified key and machine name. remote host did not answer in a
The Robot Key that you typed is wrong, or
timely manner.
you made a typo when provisioned the Check LAN Settings in Internet Options ->
robot in Orchestrator Connections; if a proxy server is involved,
we will discuss that in detail later on
If the robot machine uses a proxy server (not a proxy script), then the following
change needs to be made:
➢ In C:\Program Files (x86)\UiPath Studio\UiRobot.exe.config, add the following section, at the end
of the <configuration> section (in this section, but at the end of it):
<configuration>
....
<system.net>
<defaultProxy>
<proxy
usesystemdefault="true"
proxyaddress="http://<your_proxy>:<your_port>"
bypassonlocal="true"
/>
</defaultProxy>
</system.net>
</configuration>
Dealing with a proxy server (c-ed)
If UiPath Studio is also installed on the robot machine, the additional change below
has to be made to enable Publishing from UiPath Studio to Orchestrator
➢ In C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\NuGet\NuGet.config (create
this file if it doesn't exist), add the following section, in the <configuration> node:
<configuration>
....
<config>
<add key="http_proxy"
value="http://<your_proxy>:<your_port>"/>
</config>
</configuration>
Problem:
To deploy 500 robots after provisioning them in Orchestrator, we have
to edit the settings of each robot to specify the Robot Key; that
operation is very hard to automate, because each machine needs to be
configured with a different Robot Key
Solution:
Let the robots access a specific endpoint in Orchestrator API to
extract the configuration (Robot Key, Nuget API Key,
Orchestrator URL, Activities Feed, etc.)
Automating the connection of robots to
Orchestrator(c-ed)
academy.uipath.com