使用情况连接错误Usage connectivity errors

Azure Stack Hub 使用情况数据通过 Azure Stack Hub 中的 Azure Bridge 组件发送给 Azure。Azure Stack Hub usage data is sent to Azure by the Azure Bridge component in Azure Stack Hub. 如果 Azure Stack Hub 中的网桥无法连接到 Azure 使用情况服务,则会出现以下错误:If the bridge within Azure Stack Hub is unable to connect to the Azure usage service, the following error appears:

使用情况网桥错误

窗口中可能会提供有关错误和解决方法的详细信息:The window may provide more information about the error and resolution:

错误解决方法

解决连接问题Resolve connectivity issues

若要缓解此问题,请尝试以下步骤:To mitigate the issue, try the following steps:

  • 验证网络配置是否允许 Azure Bridge 连接到远程服务。Verify that network configuration allows the Azure Bridge to connect to the remote service.

  • 转到“区域管理” > “属性”边栏选项卡,找到用于注册的 Azure 订阅 ID、资源组和注册资源名称。 Go to the Region Management > Properties blade to find the Azure subscription ID used for the registration, resource group, and name of the registration resource. 检查注册资源是否位于 Azure 门户中的正确 Azure 订阅 ID 下。Verify that the registration resource exists under the correct Azure subscription ID in Azure portal. 为此,请转到 Azure 订阅 ID 下创建的所有资源,并选中“显示隐藏的类型”框。To do so, go to All resources created under the Azure subscription ID, and check the Show hidden types box. 如果找不到注册资源,请按照续订或更改注册中的步骤重新注册 Azure Stack Hub。If you can't find the registration resource, follow the steps in Renew or change registration to re-register your Azure Stack Hub.

    门户

错误代码Error codes

本部分描述使用情况错误代码。This section describes the usage error codes.

错误代码Error code 问题Issue 补救Remediation
NetworkErrorNetworkError Azure Stack Hub 网桥无法将请求发送到 Azure 中的使用情况服务终结点。Azure Stack Hub bridge is unable to send request to usage service endpoint in Azure. 检查代理是否阻止或拦截了对使用情况服务终结点的访问。Check if a proxy is blocking or intercepting access to the usage service endpoint.
RequestTimedOutRequestTimedOut 请求已从 Azure Bridge 发出,但 Azure 中的使用情况服务无法在超时期限内做出响应。Request was sent from the Azure Bridge but the usage service in Azure failed to respond within the timeout period. 检查代理是否阻止或拦截了对使用情况服务终结点的访问。Check if a proxy is blocking or intercepting access to the usage service endpoint.
LoginErrorLoginError 无法使用 Azure Active Directory 进行身份验证。Unable to authenticate with Azure Active Directory. 确定可从 Azure Stack Hub 中的所有 XRP VM 访问 Azure AD 登录终结点。Ensure the Azure AD login endpoint is accessible from all XRP VMs in Azure Stack Hub.
CertificateValidationErrorCertificateValidationError Azure Bridge 无法发送请求,因为无法使用 Azure 服务进行身份验证。The Azure bridge is unable to send the request because it is unable to authenticate with the Azure service. 检查是否有代理拦截了 Azure Stack Hub XRP 计算机与使用情况网关终结点之间的 HTTPS 流量。Check if there is a proxy intercepting HTTPS traffic between the Azure Stack Hub XRP machine and the usage gateway endpoint.
未授权Unauthorized Azure Bridge 无法将数据推送到 Azure 中的使用情况服务,因为 Azure 服务无法对 Azure Stack Hub 网桥进行身份验证。The Azure bridge is unable to push data to the usage service in Azure, because the Azure service is unable to authenticate the Azure Stack Hub bridge. 检查注册资源是否已修改,如果是,请重新注册 Azure Stack Hub。Check if the registration resource has been modified, and if so, re-register Azure Stack Hub.

有时,Azure Stack Hub 与 Azure AD 之间的时间同步问题会导致此错误。Sometimes, a time sync issue between Azure Stack Hub and Azure AD can cause this failure. 在此情况下,请确保 Azure Stack Hub 中 XRP VM 的时间与 Azure AD 同步。In this case, ensure the times on the XRP VMs on Azure Stack Hub are in sync with Azure AD.

此外,可能需要提供 Azure Bridge、WAS 和 WASPublic 组件的日志文件。Additionally, you may be required to provide the log files for the Azure Bridge, WAS, and WASPublic components.

后续步骤Next steps