发出请求后不到 0 秒,服务器就返回“请求已过期”,但请求至少应在 600 秒内过期

发出请求后不到 0 秒,服务器就返回“请求已过期”,但请求至少应在 600 秒内过期

当我单击保存并重新启动 VMWare Replication Appliance VRM 服务时:

出现此错误应用启动配置时出错:服务器在发出请求后不到 0 秒就返回“请求已过期”,但至少 600 秒内不应过期。

https://vrm.vmware.domain.local:5480/service/hms/cgi/health.py 在 XML 中显示绿色

LookupService Address: vcenter.vmware.domain.local (and it's pingable from ssh @ vrm.vmware.domain.loca, DNS is set in networkingl)
SSO Admin: [email protected] (Such SSO domain exists in vcenter and I can login in vcenter web UI with vmware.domain.local\Administrator)
VRM Host: vrm.vmware.domain.local (also pinged from multiple hosts)
VRM Site Name: VRM NPB
vcenter Server Address: vcenter.vmware.domain.local
vcenter server port: 80

如果我单击“启动 VRM 服务”,它就会进入

VRM service is started and quickly reverts to
VRM service is stopped

vcenter6 和 vsphere 复制设备的安装是通过 ISO 完成的(设备,最新的是 2 天前从 VMWare 下载的)

vcenter 对 HMS 服务抱怨:无法从以下位置请求健康状态https://vrm.vmware.domain.local:5480/service/hms/cgi/health.py

(然而,在我的浏览器中我可以轻松打开此 URL,但证书是自签名的)

我们能做什么?

我甚至调试了 VRM UI 发送 http GET 的脚本https://vrm.vmware.domain.local:5480/service/hms/cgi/hms.py?cmd=checklscert&ls=vcenter.vmware.domain.local&lsthumbpr

{
   "result":{
      "vc":{
         "uuid":"56d6e005-2229-4bc6-99e9-7969c8883efd",
         "notBefore":"26 Jun 2015 12:56:47 GMT",
         "notAfter":"20 Jun 2025 12:56:47 GMT",
         "valid":"Certificate validation error",
         "thumbprint":"8D:E6:70:13:D2:4A:2D:D6:D7:27:21:C3:FA:36:48:56:F3:EA:91:EA",
         "subject":{
            "C":"US",
            "CN":"vcenter.vmware.domain.local",
            "L":"Unknown",
            "O":"Unknown",
            "ST":"Unknown",
            "OU":"Unknown"
         },
         "issuer":{
            "C":"US",
            "CN":"CA",
            "DC":"vmware",
            "L":"Unknown",
            "O":"vcenter.vmware.domain.local",
            "ST":"Unknown",
            "OU":"Unknown"
         }
      },
      "result":"ok",
      "ls":{
         "notBefore":"26 Jun 2015 12:56:47 GMT",
         "notAfter":"20 Jun 2025 12:56:47 GMT",
         "valid":"true",
         "thumbprint":"8D:E6:70:13:D2:4A:2D:D6:D7:27:21:C3:FA:36:48:56:F3:EA:91:EA",
         "subject":{
            "C":"US",
            "CN":"vcenter.vmware.domain.local",
            "L":"Unknown",
            "O":"Unknown",
            "ST":"Unknown",
            "OU":"Unknown"
         },
         "issuer":{
            "C":"US",
            "CN":"CA",
            "DC":"vmware",
            "L":"Unknown",
            "O":"vcenter.vmware.domain.local",
            "ST":"Unknown",
            "OU":"Unknown"
         }
      }
   },
   "error":null
}

如果我尝试取消注册该设备,则会出现此错误:必须正确配置该设备才能使取消注册工作。

答案1

解决此问题的方法是将所有方(ESXi 主机、vcenter、VRM Appliance)与 ntp 服务器同步。完成后,错误消失。

相关内容