Search the VMware Knowledge Base (KB)
View by Article ID

vCenter Server 6.0 Windows performance charts fail to load with the error: Performance Charts service returned an invalid response (2131040)

  • 8 Ratings

Symptoms

  • No data is shown when viewing the Overview Performance Charts for any Inventory object.
  • You see the error:

    Performance Charts service returned an invalid response

  • You can view the performance charts with administrator@vsphere.local.
  • In the C:\ProgramData\VMware\vCenterServer\logs\vsphere-client\vsphere-client-gc.log file, you see entries similar to:

    [DD/MMM/YYYY:TT] [ERROR] data-service-pool-22227 70002305 100017 200005 com.vmware.vise.util.http.ConnectionManager Error reading from the stream: Server returned HTTP response code: 400 for URL: https://MachineName.domain.com:443/statsreport/vicr.do?moref=VirtualMachine:vm-330&locale=de_DE&sessionId="aa79238a5068bb9700ca602e8591d128153d671d"&serviceUrl=https://MachineName.domain.com:443/sdk&gmtTimezoneOffset=120

  • In the C:\ProgramData\VMware\vCenterServer\logs\perfcharts\localhost_access_log. YYYY-MM-DD file, you see the service returning a 400 response similar to:

    127.0.0.1 - - [DD/MMM/YYYY:TT] "GET /statsreport/vicr.do?moref=VirtualMachine:vm-330&locale=de_DE&sessionId="aa79238a5068bb9700ca602d8591d128153d671d"&serviceUrl=https://MachineName.domain.com:443/sdk&gmtTimezoneOffset=120 HTTP/1.1" 400 -

    Note: This log excerpt is an example. Date, time, and environmental variables may vary depending on your environment.

Resolution

This issue is resolved in VMware vCenter Server 6.0 Update 2, available at VMware Downloads

To work around this issue, increase or add the max HTTP header size in the server.xml file of the performance charts service.

  1. Create a copy of the C:\ProgramData\VMware\vCenterServer\data\perfcharts\tc-instance\conf\server.xml file on vCenter Server.

    Note: Path in VCSA, /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml

  2. Open the server.xml file using a plain text editor.
  3. In the <!-- IPv4 configuration --> and <!-- IPv6 configuration -->, sections search for the port="${bio.http.port}" entry.

    Note: Add the entry if it is not present.

  4. Modify both entries to maxHttpHeaderSize="65536".

    For example:

    <!-- IPv4 configuration --> <Connector address="127.0.0.1" acceptCount="300" maxThreads="300" connectionTimeout="20000" executor="tomcatThreadPool" maxKeepAliveRequests="15" port="${bio.http.port}" maxHttpHeaderSize="65536" protocol="org.apache.coyote.http11.Http11Protocol"/> <!-- IPv6 configuration --> <Connector address="::1" acceptCount="300" maxThreads="300" connectionTimeout="20000" executor="tomcatThreadPool" maxKeepAliveRequests="15" port="${bio.http.port}" maxHttpHeaderSize="65536" protocol="org.apache.coyote.http11.Http11Protocol"/>

    Note: The entry is case sensitive.

  5. Restart the performance charts service with these commands:

    • service-control --stop vmware-perfcharts
    • service-control --start vmware-perfcharts

      Note:Path for service-control C:\Program Files\VMware\vCenter Server\bin

  6. Log in to the vSphere Web Client and retry the performance charts.

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 8 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 8 Ratings
Actions
KB: