Image Compliance Error: “An internal error occurred while retrieving compliance data from host 'host-##'. Exception: Failed to get task result for task() on host(host-##)"
search cancel

Image Compliance Error: “An internal error occurred while retrieving compliance data from host 'host-##'. Exception: Failed to get task result for task() on host(host-##)"

book

Article ID: 417599

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • While checking the Updates tab of the ESXi host, following error message is received:
    • “An internal error occurred while retrieving compliance data from host 'host-##'. Exception: Failed to get task result for task() on host(host-##).”Dynamic exception type: VumVapi::Lib::VapiClient::wait_error std::exception::what: Operation timed out. Retry compliance check.
  • When checking for compliance on the ESXi host, it intermittently fails with the following error : 
    • Host <ESXi Hostname> is not reachable. Check host's connectivity and health in vCenter and retry. 

  • curl test for ESXi host from vCenter Server over port 443 is also intermittently failing.
    • # curl -v telnet://<ESXi FQDN>:443
      *   Trying <IP address of ESXi host>:443...
      * connect to <IP address of ESXi host> port 443 failed: Connection timed out
      * Failed to connect to <IP address of ESXi host> port 443 after 10015 ms: Connection timed out
      * Closing connection 0
      curl: (7) Failed to connect to <IP address of ESXi host> port 443 after 10015 ms: Connection timed out

Environment

VMware vCenter Server 

VMware vSphere ESX

Cause

This issue occurs due to intermittent network connectivity between the vCenter Server and the ESXi host over port 443. 

Resolution

Resolve the intermittent network connectivity issues observed between the vCenter Server and the affected ESXi host to resolve the Image Compliance error on the Lifecycle Manager.

Additional Information

ESXi host disconnects intermittently from vCenter Server