一、前言
在Horizon Daas环境中,我们在链接桌面时,可能遇到一些错误,导致桌面连接失败,而其中一些错误是可预见的,本文在此列出了vmware官方发布的常见桌面连接错误,以供用户遇见类似问题时,参考处理。
二、Horizon Daas 桌面连接常见错误
1)Error 500
通过Horizon Client连接桌面时,如果收到Error 500警示, 可先查看本地租户日志并记录下此异常,然后再联系支持人员。此异常将涉及 ViewClientServlet。
2)常见错误警示:
错误警示 | 可能原因 |
---|---|
View Agent 登录失败。错误详细信息: (View Agent Login Failed. Error Details: ) | View Agent 未能处理所发送的登录请求。 |
会话已过期,请重新启动 Horizon Client 以连接 (Session has Expired, Please Restart Horizon Client to Connect) | 发生会话超时。超时基于服务提供商制定的策略 (userportal.session.timeout),但可能会被管理控制台中的设置覆盖。 |
无法分配桌面 - 正在刷新池 (Unable to allocate a desktop - pool refresh is in progress)。 | 请等待几分钟后重试。正在进行动态池刷新。这表示正在根据新的或更改的黄金模式删除并重新创建桌面。刷新完成后,用户将能够登录他们的桌面。 |
与桌面通信时出错。请联系您的管理员。错误详细信息: 桌面代理通信错误 (Error communicating with desktop. Please contact your Administrator. Error Details: Desktop Agent Communication Error) | 由于 Horizon Client、租户和 View Agent 连接之间的通信中断,无法从身份验证错误响应中解析错误。与 ViewClientServlet 有关的 desktone.log 文件中可能存在警告或错误。 |
无法解析 XML (Could not parse XML) | DaaS 平台无法读取数据 Horizon Client 或代理返回的 XML。 |
桌面尚未做好连接准备 (DaaS Agent 可能正在启动)。请等待几分钟或重试。如果问题仍然存在,请联系您的管理员。(Desktop is not ready for connection (DaaS Agent may be starting up). Please wait a few minutes or try again. If problem persists, please contact your Administrator.) | DaaS Agent 报告为脱机。如果问题仍然存在,并且控制台访问时间过长,请重新引导桌面。当显示桌面时,也应显示 DaaS Agent(在几分钟内)。 |
桌面尚未做好连接准备 (可能正在关闭或重新引导)。请等待几分钟或重试。如果问题仍然存在,请联系您的管理员。(Desktop is not ready for connection (may be shutting down or rebooting). Please wait a few minutes or try again. If problem persists, please contact your Administrator.) | 操作系统状态为未运行。请等待,直到操作系统运行,或者从管理控制台中重新引导。 |
桌面尚未做好连接准备 (当前处于维护模式)。请等待几分钟或重试。如果问题仍然存在,请联系您的管理员。(Desktop is not ready for connection (currently in maintenance mode). Please wait a few minutes or try again. If problem persists, please contact your Administrator.) | 正在对动态桌面实施域重新加入维护。在动态池刷新期间也可能会出现此消息。 |
无法连接桌面。请联系您的管理员。错误详细信息: View Agent 未运行 (Unable to Connect to Desktop. Please contact your Administrator. Error Details: View Agent is not running) | DaaS Agent 报告 View Agent 服务未运行或未侦听所需端口。请确保已安装 View Agent,并且防火墙端口(4172、32111、443)已打开。重新引导计算机,或者通过 RDP(用户门户)检查服务“View Agent 连接”(如果可能)。 |
无法连接桌面。请联系您的管理员。错误详细信息: VMware Tools 未运行 (Unable to Connect to Desktop. Please contact your Administrator. Error Details: VMware Tools is not running) | VMware Tools 处于脱机状态。请参阅有关 VMware Tools 的故障排除/解决方案。 |
无法连接桌面。请联系您的管理员。错误详细信息: 未安装 VMware Tools (Unable to Connect to Desktop. Please contact your Administrator. Error Details: VMware Tools is not installed) | 未安装 VMware Tools。请参阅有关 VMware Tools 的故障排除/解决方案。 |
无法连接桌面。请等待几分钟,然后重试。如果问题仍然存在,请联系您的管理员 (Unable to Connect to Desktop. Please wait a few minutes and try again. If problem persists, please contact your Administrator) | 桌面不可用。这是分配器服务发出的一般消息。尝试查看计算机和租户系统的状态,看看是否还有其他问题。 |
无法连接桌面。桌面已分配给其他用户。请联系您的管理员。错误详细信息: 桌面已处于“已分配”状态。(Unable to Connect to Desktop. Desktop has been allocated to a different user. Please Contact your Administrator. Error Details: Desktop Already in Allocated State.) | 此桌面已分配给其他用户。会话具有的 GUID 与当前用户不同。 |
登录失败。请联系您的管理员。错误详细信息: 无法使用凭据查找用户 GUID (Login Failure. Please contact your Administrator. Error Details: Unable to lookup user GUID using credentials) | Horizon DaaS 软件在 GUID 查找期间引发了一个异常。可能的原因包括:域控制器处于脱机状态;架构节点存在故障;一般租户问题。 |
无法连接桌面。请等待几分钟,然后重试。如果问题仍然存在,请联系您的管理员。错误详细信息: 未知 IP 地址 (Unable to Connect to Desktop. Please wait a few minutes and try again. If problem persists, please contact your Administrator. Error Details: Unknown IP Address) | IP 地址为空或无效。如果 DaaS Agent 正在登录,或虚拟机正在启动,IP 地址可能为空。 |
无法连接桌面。请联系您的管理员。错误详细信息: 无效的 IP 地址 <IP_address> (Unable to Connect to Desktop. Please contact your Administrator. Error Details: Invalid IP Address <IP_address>) | 仅当 IP 地址已知时才会列出。 |
无法连接桌面。请联系您的管理员。错误详细信息: 无法检索租户域信息 (Unable to Connect to Desktop. Please contact your Administrator. Error Details: Unable to retrieve Tenant Domain information) | 数据库中未记录域信息。DaaS 平台无法将租户与任何域相关联。 |
登录失败: 未知用户名或密码错误。请重试。(Login Failure: Unknown user name or bad password. Please try again.) | 用户名或密码对给定的域无效。 |
无法分配桌面,无桌面可用。池中的所有桌面当前正在使用。(Unable to Allocate Desktop, No Desktops Available. All desktops in pool are currently in use.) | 动态池中没有桌面可供用户使用。 |
无法连接桌面 (当前连接的协议不兼容)。请注销之前的会话,然后重试。(Unable to Connect to Desktop (current connected protocol incompatible). Please log off previous session and try again.) | 分配器服务指示当前会话使用的是不兼容的协议。 |
无法完成注销。如果问题仍然存在,请联系您的管理员。错误详细信息: 无效的会话 ID (Unable to complete log off. If problem persists, please contact your Administrator. Error Details: Invalid session id) | 如果 DaaS 平台无法解析 XML、XML 中返回的会话 ID 密钥为空,或者密钥的格式不正确,则会出现此错误。 |
无法完成注销。如果问题仍然存在,请联系您的管理员。错误详细信息: 无法将会话 ID 与活动会话相关联 (Unable to complete log off. If problem persists, please contact your Administrator. Error Details: Unable to Associate Session Id with Active Sessions) | 当前用户没有活动会话。 |
无法完成注销。如果问题仍然存在,请联系您的管理员。错误详细信息: 与桌面管理器通信时出错 (Unable to complete log off. If problem persists, please contact your Administrator. Error Details: Error communicating with Desktop Manager) | 如果 DaaS 平台引发异常,会出现此错误。 |
桌面 , 不在授权桌面列表中 (The desktop , is not in the list of entitled desktops) | 在此消息中, 是您尝试启动的应用程序名称, 是一个数字。此消息表示您可能正在使用不兼容的 Horizon Client,应该参考客户端的发行说明,以确认 Horizon Client 是否支持远程应用程序功能。 |
3)与密码更改有关的错误消息
下表列出了用户尝试在 Horizon Client 中更改其密码时可能会收到的错误消息及原因。
错误提示 | 可能原因 |
---|---|
请输入旧密码和新密码 (Please Enter the Old Password and the New Password)。 | 部分或全部密码字段为空。 |
提供的旧密码无效,请重试 (Provided Old Password is invalid, please try again)。 | 如果您登录时使用的密码与“旧密码”不同,会出现此错误。 |
提供的新密码不匹配,请重试 (Provided New Passwords do not match, please try again)。 | 用户键入密码时出错。 |
请输入与旧密码不同的新密码 (Please Enter a New Password that is different from the Old Password)。 | 用户输入的新密码与旧密码相同。 |
无法更改密码。请重新启动 Horizon Client,然后重试。错误详细信息 (Unable to Change Password. Please restart Horizon Client and try again. Error Detail ) | 用户选择桌面,完成密码更改屏幕,并单击连接之后,View Agent 无法更改域密码。密码更改屏幕之后,出现一个用户确认对话框,错误地指示“您已成功更改了密码,以后应使用新密码”(You successfully changed your password and should use it in the future)。 |