Today while working in my lab I was facing performance issues with one of my Esxi host and decided to analyze the performance chart of the host to find out the root cause.
When I select the host and clicked on Performance tab, there was nothing in there and instead it returned an error “Performance Charts service returned an invalid response“
However when I switched to advance view I was able to see the charts.
This was strange. I started googling with the error message and came to a discussion thread on VMTN where someone has suggested to enable IPv6 on host.
I followed the same thing and enabled IPv6 on my Esxi host and rebooted it for changes to take affect. Once host was rebooted I again selected the performance charts and still I was seeing the same error.
I continued with googling and came to a cool Blog-Post by MATT BRADFORD and followed the steps.
Basically the fix was to append “maxHttpHeaderSize=”65536” value for IPv4 and IPv6 sections in file:
C:ProgramDataVMwarevCenterServerdataperfchartstc-instanceconfserver.xml
Note: Before making this change make sure your stop vCenter Server service first.
Once you stopped the vCenter Server edit server.xml file and insert the above mentioned value. Your file should like below:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<!-- 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"/> |
We need to restart the VMware Performance Charts service. This can be done via either services.msc or by executing the following from an administrative command prompt.
1 2 3 |
C:Program FilesVMwarevCenter Serverbinservice-control --stop vmware-perfcharts C:Program FilesVMwarevCenter Serverbinservice-control --start vmware-perfcharts |
After this I was able to see performance charts now.
I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing. Be sociable 🙂
One thought on “Performance Charts service returned an invalid response”