vCenter Server Health status reports the error: Error retrieving health from url
book
Article ID: 305638
calendar_today
Updated On:
Products
VMware vCenter Server
Issue/Introduction
Symptoms:
In the vCenter Server Health status, you see these errors:
unable to retrieve health data from https://localhost:443/vsm/health.xml unable to retrieve health data from https://localhost:443/eam/eamService-web/health.xml unable to retrieve health data from https://localhost:443/SMS/health.xml
In the %ALLUSERSPROFILE%\Application Data\VMware\VMware VirtualCenter\Logs\vws.log, you see entries similar to:
Thread-38 ERROR com.vmware.vim.health.impl.XmlUtil] Error retrieving health from url: https://localhost:443/vsm/health.xmljava.net.SocketException: Unexpected end of file from server at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769 at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.jaxp.validation.StreamValidatorHelper.validate(Unknown Source) at org.apache.xerces.jaxp.validation.ValidatorImpl.validate(Unknown Source) at com.vmware.vim.health.impl.XmlUtil.getDocumentFromUrl(XmlUtil.java:96) at com.vmware.vim.health.impl.ComponentSpec.retrieveHealthFromUrl(ComponentSpec.java:300) at com.vmware.vim.health.impl.ComponentSpec.retrieveHealth(ComponentSpec.java:266) at com.vmware.vim.health.impl.HealthPollerImpl.retrieveHealthFromUrl(HealthPollerImpl.java:116) at com.vmware.vim.health.impl.HealthPollerImpl.retrieveHealth(HealthPollerImpl.java:103) ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for com.vmware.vim.vsm from https://localhost:443/vsm/health.xml Thread-38 ERROR com.vmware.vim.health.impl.ComponentSpec] Unable to retrieve health for com.vmware.vim.vsm from any of its health URLs Thread-38 ERROR com.vmware.vim.health.impl.XmlUtil] Error validating health from stream [ERROR com.vmware.vim.health.impl.XmlUtil] Invalid health data: org.apache.commons.httpclient.AutoCloseInputStream@7af6f504
You may also see issues with the Storage views tab.
Environment
VMware vCenter Server 5.0.x
Cause
This issue occurs if TrendMicro Officescan antivirus software is installed on the server.
Resolution
To resolve this issue, try one of these options:
Disable your antivirus software. For instructions to disable the antivirus program, consult the Help menu of the anitvirus software or see the manufacturer's documentation.
Uninstall the antivirus software.
To uninstall the software, perform one of these options:
Click Control Panel > Programs and Features, locate Trend Micro OfficeScan Client, click Change and follow the on-screen instructions to complete the uninstallation.