vCloud Usage Meter 4.7 throws the following error when trying to collect vCenter Server usage data:
2023-08-07 19:29:33.446 ERROR --- [pool-5-thread-1] com.vmware.um.vccollector.VCCollector : Events stage raised exception javax.xml.ws.WebServiceException: java.net.SocketTimeoutException: Read timed out javax.xml.ws.WebServiceException: java.net.SocketTimeoutException: Read timed out
The vCenter collection log is located under:
To resolve this issue, you need to increase the connection timeout.
service sshd start
ssh usagemeter@<um-ip-address>
cp /opt/vmware/cloudusagemetering/platform/conf/schedule-executions/collection.yml /opt/vmware/cloudusagemetering/platform/conf/schedule-executions/collection-backup.yml
vi /opt/vmware/cloudusagemetering/platform/conf/schedule-executions/collection.yml
=> vcReceiveTimeoutMillis="900000"
:wq!
cp /opt/vmware/cloudusagemetering/platform/conf/schedule-executions/command.yml /opt/vmware/cloudusagemetering/platform/conf/schedule-executions/command-backup.yml
vi /opt/vmware/cloudusagemetering/platform/conf/schedule-executions/command.yml
-Dsun.net.client.defaultConnectTimeout=600000 -Dsun.net.client.defaultReadTimeout=900000
:wq!
su -
reboot