订阅

UiPath Orchestrator

UiPath Orchestrator 指南

Orchestrator 常见错误

🚧

重要

在机器人计算机上开始作业前从所有 RDP 会话中注销。

Could not create SSL/TLS secure Channel


This error is occasionally encountered when trying to get assets or queue items during workflow execution. This happens due to a Transport Layer Security failure for Windows devices attempting a TLS connection to a device that does not support Extended Master Secret. This is not an Orchestrator issue. Find here more details on the matter and how to mitigate it.

No robot available for user X


This error is encountered if the username provided for the Robot does not coincide with the one used on the Robot machine. For more information on how to connect the Robot or Orchestrator correctly, see the Connecting Robots to Orchestrator page.

Permission missing: Launcher


当您尝试直接从机器人计算机(从托盘或 Studio)启动作业,并且计算机用户名与用于将机器人连接到 Orchestrator 的用户名不同时,可能会出现此错误。例如,如果您使用用户名 ABC 将机器人连接到 Orchestrator,则不能使用其他用户名(例如 XYZ)通过托盘或 Studio 在机器人上开始作业。

If you are sure that the username with which you connected the Robot to Orchestrator is the same as the one on the machine, please use the Regutil.exe tool to deactivate the Robot license and reconnect to Orchestrator. Find more details here.

Logon failure: unknown user name or bad password


当您尝试在 Orchestrator 中提供的凭据(用户名和/或密码)不正确的机器人上开始作业时,会发生此错误。

📘

备注:

如果机器人用户名属于某个域,则用户名必须采用 domain\username 格式。

Executor start process failed, reason System.UnauthorizedAccessException: Access is denied.

The error is thrown if the Robot password is not provided. To add the password, edit the Robot, as explained here.

Permission missing: Remote Execution

如果您尝试通过 Orchestrator 在有人值守的机器人上运行流程,则会显示此错误。

Executor start process failed, reason: A specified logon session does not exist. It may already have been terminated

有两种类型:
A. 每次尝试启动机器人时 - 这意味着当前无法创建登录会话。如果您使用与 RDP 不同的用户名连接到机器人计算机,则会发生这种情况。为避免此错误,请在机器人计算机上注销所有 RDP 连接。
B. 随机 - 在这种情况下,您可以尝试以下操作:

  • 检查机器人计算机是否有足够的资源(CPU 和内存)。
  • 使用 mstsc 命令行函数检查连接时间。如果 60 秒超时期限已过,则会显示错误。

An existing connection was forcibly closed by the remote host “Oops! We’re sorry! It seems Orchestrator is down.”


在下列情况下,可能会出现此问题:

  • 在 Internet 信息服务 (IIS) 中重新启动服务器。
  • 服务器已关闭。
  • 与服务器的连接突然断开。

Value cannot be null


机器人计算机上仍在下载流程时,如果您在 Orchestrator 中快速开始并终止作业,则会遇到此错误。

Job not found


启用“在此之后终止”选项后,当计划的作业的机器人和 Orchestrator 之间的连接断开时,会出现此问题。

The handle is invalid


在以下情况下会显示此错误:
A. 包含用户界面自动化的项目 - 后台已经存在 RDP 连接时(最小化)。
B. 作为 Windows 的已知问题。

An attempt was made to reference a token that does not exist

This error is related to a known Windows issue. For more information, please use the enableLowLevel tracing option and provide the generated .etl file to our support team.

Desktop has been disconnected while performing UI actions

The issue occurs whenever the RDP connection to the Robot machine is lost. Learn how to avoid this by Executing Tasks in a Minimized RDP Window.

A device attached to the system is not functioning

This is caused by an external issue.
“由于以下原因之一,连接的设备无法正常工作:(1) 已关闭或连接不正确;(2) 软盘和驱动器类型不兼容;(3) 软盘未正确插入驱动器;(4) 驱动器门已打开;或 (5) 软盘未正确格式化。”

Executor start process failed, reason System.Runtime.InteropServices.COMException (0x800700AA): The requested resource is in use

如果在使用高密度机器人时将 UiPath.settings 文件中的 logIntoConsole 设置为 true,则会遇到此问题。

Execution error: System.UnauthorizedAccessException: Access to the path 'C:\ProgramData\UiPath…is denied

在以下情况下会遇到此错误:
A. 高密度机器人和常规机器人写入或修改相同的文件。为避免这种情况,请为机器人和唯一的用户 ID 生成不同的文件。
B. 机器人没有目标文件夹的写入权限。
C. 文件已创建,并且机器人无法编辑。

Robot already running for user

当计划重叠(2 到 3个计划同时开始)时,会出现此问题。

Bad requestThe remote host did not answer in a timely manner.

当并非将计算机上的所有用户作为机器人连接到 Orchestrator 时,就会出现问题。

Check the Robot LAN Settings for an enabled proxy server. If a proxy server is specified, check out how Redirecting Robots through a Proxy Server works.

📘

备注:

这仅适用于未经身份验证的代理连接。

Cannot upgrade the legacy UiPath.Core.Activities package.


执行在版本 2018.3 之前创建的流程时,会发生此错误。

在版本 2018.3 之前创建的流程依赖旧版用户界面自动化包,即 Core.Activities。在当前版本中运行这些流程时,您必须使用通过新系统和用户界面自动化包迁移活动的 Core.Activities 元包。

默认情况下,旧版 Core.Activities 包不会在任何位置发布,因此使用迁移元包。但是,如果用户在自定义订阅源或 Orchestrator 中发布旧版 Core.Activities,则会安装旧版包,并显示此错误。

To solve or avoid this issue, simply remove the legacy Core.Activities package from any custom feed before trying to execute the process again. Also, remember to check out how to Open Projects Created with Previous Versions.

System.Runtime.InteropServices.COMException: Licence permission missing


执行使用 UiPath.UIAutomation.Activities 包的 18.3.6864.20582 版本的项目时,Studio v2018.3.2 及更高版本中会发生此问题。

如果您有使用 UiPath.UIAutomation.Activities 依赖项版本 18.3.6864.20582 在 Studio v2018.3.1 中创建的项目,则必须在 Studio 中打开它们,并将 UiPath.UIAutomation.Activities 依赖项更新到版本 18.3.6877.28298。

如果您有在 v2018.3.1 之前的版本中创建的项目,并且尚未使用该版本打开项目,但是已经安装了 v2018.3.1,则必须执行以下步骤,以防止与 UiPath Platform 的未来版本发生兼容性问题。您必须从以下位置删除版本 2018.3.6864.20598 的 UiPath.Core.Activities 依赖项:

  • Orchestrator 订阅源
  • 默认包位置 - 2021.4 之前的版本中为 %Program Files (x86)%\UiPath\Studio\Packages,2021.4 及更高版本中为 %Program Files%\UiPath\Studio\Packages
  • NuGet 缓存 - %userprofile%\.nuget\packages\uipath.core.activities

如果先前未安装 Studio/机器人 v2018.3.1,并且 UiPath.UIAutomation.Activities 包的版本 18.3.6864.20582 未部署到本地或 Orchestrator 订阅源,则可以升级到 v2018.3.2,不会有任何风险。

📘

重要提示:

如果您曾安装过 Studio v2018.3.1 企业版外的其他版本(例如社区文档并 v2018.3.0 或企业版和社区版的任何先前测试版),上述解决方案同样适用。不要使用版本低于或等于 18.3.6864.20582 的任何 UiPath.UIAutomation.Activities,也不要使用版本低于或等于 2018.3.6864.20598 的任何 UiPath.Core.Activities

Bad Request - Request Too Long


由于浏览器持久性 Cookie 问题,尝试访问 Orchestrator 时可能会发生此错误。

To solve or avoid this issue, clear the cookies in your browser. For example, for Chrome browsers, follow these instructions to clear the cookies, making sure you select All time as time range. Internet Explorer or Firefox browsers also have detailed instructions on how to delete the cookies.

If you are getting a Bad Request - Request too long - HTTP Error 400. The size of the request headers is too long. response, it is likely that the token signing certificates don't match on each node in a high availability configuration.

The user is not a member of the specified AD domain.


使用 Active Directory 登录 Orchestrator 时,将引发未知错误。在 Orchestrator 日志的 NLog 目标(EventViewer 或在 Orchestrator 配置中配置的内容)中伴随以下错误:UiPath.Orchestrator.Core.Exceptions.BadRequestException: Error code - 1413, Message - 'The user is not a member of the specified AD domain.'

如果将 Active Directory 用户用作应用程序池的身份(Identity 或 Orchestrator),而未将“加载用户配置文件”设置为 True,则会发生这种情况。

To correct it, follow these steps:

  1. 在 IIS 管理器中,选择您的 Orchestrator 网站,然后导航到“应用程序池”
  2. 在应用程序池列表中,右键单击“Identity”或“Orchestrator”,然后选择“高级设置”。显示“高级设置”窗口。
  3. 在“流程模型”部分,将“加载用户配置文件”设置为“True”
438

大约一年前更新


Orchestrator 常见错误


建议的编辑仅限用于 API 参考页面

您只能建议对 Markdown 正文内容进行编辑,而不能建议对 API 规范进行编辑。