- Release Notes
- Getting Started
- UiPath Assistant
- Installation and Upgrade
- Robot Types
- Robot Components
- Licensing
- Connecting Robots to Orchestrator
- Processes and Activities
- Logging
- Robot JavaScript SDK
- Specific Scenarios
- Troubleshooting
Robot User Guide
Redirecting Robots Through a Proxy Server
If you have a Robot that is in a closed network, or in a different network than the one Orchestrator uses, the communication between the two UiPath products is not possible. As a result, to facilitate this communication, you can use a proxy server with your Robot.
To redirect the Robot through a proxy server, you have to make multiple configurations on the Robot machine. They are split into the following steps:
- Configure your preferred web browser, to ensure that the Robot machine can access Orchestrator through the indicated proxy server.
- Edit the Robot and NuGet configuration files, to ensure that the connection between the Robot and Orchestrator is routed through the provided proxy server and that the activities packages and the automation processes can be downloaded through the specified proxy server.
- In Internet Explorer, click Tools > Internet Options. The Internet Options window is displayed.
- In the Connections tab, click LAN Settings. The Local Area Network (LAN) Settings window is displayed.
- In the Proxy Server section, select the Use a proxy server for your LAN check box.
- In the Address and Port fields, enter the proxy server address and port.
- Select the Bypass proxy server for local address check box.
- Click OK. Your settings are saved.
- In the web browser, enter the Orchestrator URL to test it.
When setting up or editing the proxy address, do not add the http:// prefix to the proxy address. This enables the proxy only for HTTP calls, and since most calls are HTTPS, the proxy configuration fails.
To resolve this, make sure to either remove the http:// prefix altogether, or specifically add the proxy address with both http:// and https:// prefixes.
Example:
-
http=proxyaddress -> incorrect
-
http=proxyaddress;https=proxyaddress -> correct
-
http://proxyaddress;https://proxyaddress -> correct
- Install the UiPath Platform.
Note: Ensure that the UiPath Robot is not running any jobs.
- Navigate to the installation folder,
%ProgramFiles(x86)%\UiPath\Studio
. - Search for the
UiPath.Service.Host.exe.config
file and open it using a text editor, such as Notepad++. - Navigate to the
Proxy configuration
section and uncomment the tags under it, by removing the comment tags (<!––
,––>
).Note: If your workflows contain Orchestrator activities, make sure to also uncomment tags under theProxy configuration
section in theUiPath.Executor.exe.config
file. - In the
proxyaddress
tag input the proxy server address and port. - Save the file and close it.
- Navigate to
C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\NuGet
if you have a 64-bit operating system orC:\Windows\System32\config\systemprofile\AppData\Roaming\NuGet
if you have a 32-bit operating system. - Open the
NuGet.config
file using a text editor, such as Notepad++.Note: If this file does not exist, create it. - In the
configuration
node, add the proxy address and port in the following format:<configuration> <config> <add key="http_proxy" value="http://proxy_server:808" /> </config> </configuration>
<configuration> <config> <add key="http_proxy" value="http://proxy_server:808" /> </config> </configuration> - Save the file and close it.
- Restart the Robot service. This step is required to ensure that the changes are used by the Robot.
- Connect the Robot to Orchestrator.
- Deploy some packages to an environment which contains the previously configured Robot.
- Navigate to the
%userprofile%\.nuget\
folder and check if the corresponding process and activities packages have been downloaded. - Run the corresponding job to check if it runs successfully.