Orchestrator
2021.10
False
横幅背景图像
Orchestrator 安装指南
上次更新日期 2024年4月19日

Orchestrator 安装故障排除

包迁移已完成。部分包迁移失败。

在很多包都出现迁移失败问题时抛出。请确保以下内容:

  • 如有足够的磁盘空间 - 如要在同一计算机上存储迁移的包,则需确保磁盘空间的可用空间至少是包大小的两倍。例如,如果包占用 1GB 存储空间,则应当至少剩余 2GB 可用空间。
  • 您拥有适当权限 - 您需要包的读取写入权限。

解决方法:可以使用 Orchestrator 中的“上传包”功能来上传未自动迁移的包。了解如何手动将包上传到 Orchestrator

远程证书无效

当证书的公钥未导入或未导入本地计算机的已信任根证书颁发机构时,这种情况将会发生。有关详细信息,请阅读有关网页证书的信息。

身份访问令牌身份验证选项无效。 请检查 Web.config

如果您在使用 Azure 应用服务安装脚本时未与 Orchestrator 一起安装身份服务器,则可能发生此错误。Orchestrator 只能与身份服务器搭配使用,因此必须安装两者。

要解决或避免此问题,请执行此处列出的所有步骤,以同时安装 Orchestrator 和安装身份服务器。

重定向次数过多

在以下几种情况下可能会发生此错误:

证书 URL 不匹配

如果身份服务器的 SSL 证书与 Orchestrator 和身份服务器使用的 URL 不匹配,则可能发生 Too Many Redirects 错误。
在 Orchestrator 的 web.config 文件中找到 ExternalAuth.System.OpenIdConnect.AuthorityIdentityServer.Integration.Authority 的密钥值并在 Chrome 浏览器中打开这些值,以检查这是否是您遇到的情况。浏览器将会指示证书是否有问题。

ASP.NET Core Web 托管捆绑包安装错误

如果未正确安装 ASP.NET Core Web Hosting Bundle,则可能发生 Too Many Redirects 错误。
通过在浏览器中打开 https://localhost/identity 来检查这是否是您遇到的情况。500.19 Error Code: 0x8007000d 错误表示 web.config 文件丢失或格式错误。

此问题的有效解决方案是重新安装 ASP.NET Core Web Hosting Bundle。

Orchestrator 和身份服务器之间的 URL 不匹配

如果 UiPath Orchestrator 设置向导中的主机名Orchestrator 公用 URL 字段具有不同的值,则可能会发生“Too Many Redirects”错误。在安装过程中,请确保分别在向导的 Orchestrator IIS 设置步骤和 Identity Server 设置步骤中为主机名Orchestrator 公用 URL 输入相同的 URL。
重要提示:请特别注意 Orchestrator 公用 URL字段,因其是使用本地服务器的 URL 自动填充,而该 URL 可能与 Orchestrator 的主机名不匹配。

要解决上文提及的身份服务器配置错误,应该更改 Orchestrator 的 UiPath.Orchstrator.dll.config 文件Identity Server 的 [identity].[ClientRedirectUris] 数据库表,并使用 Orchestrator 的主机名值更改错误(可能是本地服务器)的 URL。

在执行此变通方法所需的更改之后,请使用 IISReset 命令行实用程序重新启动 IIS,然后重新打开浏览器。您现在应该可以登录 Orchestrator。

以下方面需要更改: UiPath.Orchestrator.dll.config

将 Orchestrator 的 UiPath.Orchestrator.dll.config 文件中的以下密钥更新为 Orchestrator 的主机名使用的值:
  • IdentityServer.Integration.Authority
  • ExternalAuth.System.OpenIdConnect.Authority
  • ExternalAuth.System.OpenIdConnect.RedirectUri
  • ExternalAuth.System.OpenIdConnect.PostLogoutRedirectUri

    <add key="IdentityServer.Integration.Authority" value="https://Orchestrator/Identity" />
    <add key="ExternalAuth.System.OpenIdConnect.Authority" value="https://Orchestrator/Identity" />
    <add key="ExternalAuth.System.OpenIdConnect.RedirectUri" value="https://Orchestrator/signinsystemopenidconnect" />
    <add key="ExternalAuth.System.OpenIdConnect.PostLogoutRedirectUri" value="https://Orchestrator" /><add key="IdentityServer.Integration.Authority" value="https://Orchestrator/Identity" />
    <add key="ExternalAuth.System.OpenIdConnect.Authority" value="https://Orchestrator/Identity" />
    <add key="ExternalAuth.System.OpenIdConnect.RedirectUri" value="https://Orchestrator/signinsystemopenidconnect" />
    <add key="ExternalAuth.System.OpenIdConnect.PostLogoutRedirectUri" value="https://Orchestrator" />
    注意:将出现的所有 https://Orchestrator 替换为您自己的 Orchestrator 主机名值。

以下方面需要更改: [identity].[ClientRedirectUris]

使用在 UiPath.Orchestrator.dll.configExternalAuth.System.OpenIdConnect.RedirectUri 密钥中找到的值更新身份服务器的 [identity].[ClientRedirectUris] 数据库表中的错误条目。
例如,如果重定向 URI 错误地指向本地服务器的 URL,请将其更改为指向 https://Orchestrator/signinsystemopenidconnect
注意:将出现的所有 https://Orchestrator 替换为您自己的 Orchestrator 主机名值。

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.