- 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
- Restarting Robot Components
- Windows Sessions
- Login Using Thales Luna Credential System
- Login Using NShield Key Storage Provider
- Redirecting Robots Through a Proxy Server
- Executing Tasks in a Minimized RDP Window
- Using Mapped Network Drives
- Stopping a Process
- Disable Stop Button
- Custom Package Folders and Network Paths
- CrowdStrike Integration
- Robot Citrix Apps Virtualization
- Troubleshooting
- Unresponsive Robot Over RDP
- Duplicate Execution Logs
- Frequently Encountered Robot Errors
- Increased Process Execution Duration
- Enforced Package Signature Verification
- Message Too Large to Process
- Errors When Running as Administrator
- NuGet Packages Not Accessible After Migration
- User Access Control Prompt and UI Automation Activities
- .NET required during installation
- Assembly Cannot Be Loaded From Network Or Azure File Share
- Activities cannot find .NET Runtime
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
UiPath.config
file, 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.
- The user mode robot inherits the Proxy Settings from the Internet Options, while the service mode robot requires specific configuration to be made in the
uipath.config
file from the Studio installation folder .
- When the robot is installed in service mode and you need to use the Interactive Sign In feature from the UiPath Assistant, you must configure the proxy settings in both the uipath.config file and Windows Settings for the user under which the robot runs.
-
To apply proxy settings on User Mode robots, you need to restart the User Host Service. You can do this by signing out of the Windows user session and then signing back in.
uipath.config
file only apply to the service mode robot.
Configurations for the Proxy Script or Proxy Address can be set from either the Connections section in Internet Options or from the Proxy Settings menu in the Windows Settings.
- 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. Depending on your setup, you can set a proxy configuration script or a proxy server.
- Configure the Proxy Server or Automatic Configuration (for Proxy Script).
- Click OK. Your settings are saved.
- In the web browser, enter the Orchestrator URL to test the connection.
- Open the start menu and search for Proxy Settings.
- Configure the Automatic Proxy Setup (for Proxy Script) or Manual Proxy Setup (for Proxy Server).
- Save the settings.
http://
prefix to the proxy address. This forces .NET-based applications such as the Robot to use the proxy only for HTTP
calls, and since most calls are HTTPS
, the proxy configuration cannot be used.
http://
prefix altogether, or explicitly add the proxy address with both http://
and https://
prefixes.
Example:
-
http=proxyaddress
-> incorrect -
http=proxyaddress;https=proxyaddress
-> correct -
http://proxyaddress;https://proxyaddress
-> correct
- Navigate to the installation folder,
%ProgramFiles%\UiPath\Studio
. - Search for the
uipath.config
file and open it using a text editor, such as Notepad++. - Add the
<webProxySettings>
tag and set the values based on your proxy environment.-
To use a proxy script, provide the following key-value pair:
<webProxySettings> <add key="ScriptAddress" value="http://localhost/proxy.pac" /> </webProxySettings>
<webProxySettings> <add key="ScriptAddress" value="http://localhost/proxy.pac" /> </webProxySettings> -
To provide a proxy address, provide the following key-value pairs:
<webProxySettings> <add key="ProxyAddress" value="http://1.1.1.1:1234/" /> <add key="BypassLocalAddresses" value="True" /> <add key="BypassList" value="server\.domain\.local$;www.google.com;192\.168\.\d{1,3}\.\d{1,3}" /> </webProxySettings>
<webProxySettings> <add key="ProxyAddress" value="http://1.1.1.1:1234/" /> <add key="BypassLocalAddresses" value="True" /> <add key="BypassList" value="server\.domain\.local$;www.google.com;192\.168\.\d{1,3}\.\d{1,3}" /> </webProxySettings>
-
- Save the
uipath.config
file and restart the robot service for changes to take effect.
UIPATH_PROXY_USE_DEFAULT_CREDENTIALS
system environment variable on the machine with the value set to true
.
ScriptAddress
and ProxyAddress
should be set. If both are set, ScriptAddress
has precedence.
BypassList
and BypassLocalAddresses
should be set only when ProxyAddress
is set.
Starting with v2021.10 release, the Robot service supports Proxy Servers using Basic Authentication protocols.
webProxySettings
section from the uipath.config
file and add the following information:
<webProxySettings>
<add key="ProxyAddress" value="http://my.proxy.net:8008" />
<add key="UserName" value="myUser" />
<add key="Password" value="myPassword" />
<add key="Domain" value="myDomain" />
</webProxySettings>
<webProxySettings>
<add key="ProxyAddress" value="http://my.proxy.net:8008" />
<add key="UserName" value="myUser" />
<add key="Password" value="myPassword" />
<add key="Domain" value="myDomain" />
</webProxySettings>
When the robot is installed in user mode, the UiPath Assistant automatically detects that a basic authentication proxy configuration is in place on the machine and prompts the user for a username and password.
- 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.
Note: When updating from versions previous to v2021.4, proxy configurations are migrated from the
proxy.config
file to theuipath.config
in order to match the new format.