Vmware-Esxi

伺服器在發出請求後不到 0 秒內返回了“請求已過期”,但它不應過期至少 600 秒

  • June 29, 2015

當我點擊保存並重新啟動 VMWare 複製設備 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: Administrator@vmware.domain.local (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
}

如果我嘗試註銷設備,則會收到此錯誤:必須正確配置設備才能使註銷工作。

解決此問題的解決方案是將各方(ESXi 主機、vcenter、VRM 設備)與 ntp 伺服器同步。一旦完成 - 錯誤就消失了。

引用自:https://serverfault.com/questions/701998