Subscribe

UiPath Robot

The UiPath Robot 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:

  1. Configure your preferred web browser, to ensure that the Robot machine can access Orchestrator through the indicated proxy server.
  2. 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.

Configuring the Web Browser

📘

Note:

This procedure uses Internet Explorer.

  1. In Internet Explorer, click Tools > Internet Options. The Internet Options window is displayed.
409
  1. In the Connections tab, click LAN Settings. The Local Area Network (LAN) Settings window is displayed.
380
  1. In the Proxy Server section, select the Use a proxy server for your LAN check box.
  2. In the Address and Port fields, enter the proxy server address and port.
  3. Select the Bypass proxy server for local address check box.
  4. Click OK. Your settings are saved.
  5. In the web browser, enter the Orchestrator URL to test it.

Editing the Configuration Files

  1. Install the UiPath Platform.

📘

Important!

Ensure that the UiPath Robot is not running any jobs.

  1. Navigate to the installation folder, %ProgramFiles(x86)%\UiPath\Studio.
  2. Search for the UiPath.Service.Host.exe.config file and open it using a text editor, such as Notepad++.
  3. Navigate to the Proxy configuration section and uncomment the tags under it, by removing the comment tags (<!––, ––>).

📘

Important!

If your workflows contain Orchestrator activities, make sure to also uncomment tags under the Proxy configuration section in the UiPath.Executor.exe.config file.

  1. In the proxyaddress tag input the proxy server address and port.
589
  1. Save the file and close it.
  2. Navigate to C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\NuGet if you have a 64-bit operating system or C:\Windows\System32\config\systemprofile\AppData\Roaming\NuGet if you have a 32-bit operating system.
  3. Open the NuGet.config file using a text editor, such as Notepad++.

📘

Important!

If this file does not exist, create it.

  1. 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>
  1. Save the file and close it.
  2. Restart the Robot service. This step is required to ensure that the changes are used by the Robot.

Checking the Proxy Server Connection

  1. Connect the Robot to Orchestrator.
  2. Deploy some packages to an environment which contains the previously configured Robot.
  3. Navigate to the %userprofile%\.nuget\ folder and check if the corresponding process and activities packages have been downloaded.
  4. Run the corresponding job to check if it runs successfully.

Updated 3 years ago



Redirecting Robots through a Proxy Server


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.