Connection to vCenter Server from Usage Meter Fails with Error: 'Credential Verification Failure'
search cancel

Connection to vCenter Server from Usage Meter Fails with Error: 'Credential Verification Failure'

book

Article ID: 399437

calendar_today

Updated On: 05-30-2025

Products

VMware Usage Meter

Issue/Introduction

  • Usage Meter is unable to establish a connection to the vCenter Server using either the IP address or FQDN. The connection attempt fails with the error: "Credential Verification Failure"
  • The nslookup command for the vCenter IP address does not return a valid response, indicating a failure in name resolution.
  • Error in the collection-vcenter-error.log located at /opt/vmware/cloudusagemetering/platform/logs/
    ####-##-## 13:58:47.889 ERROR --- [####-#-######-#] com.vmware.um.vcsession.VCSession : VCSession login for server 4 failed with class com.sun.xml.ws.client.ClientTransportException com.sun.xml.ws.client.ClientTransportException: HTTP transport error: org.bouncycastle.tls.TlsFatalAlert: handshake_failure(40)

 

Environment

vCloud Usage Meter 4.8

Cause

The issue is caused by a failure in reverse DNS resolution when Usage Meter attempts to connect to the vCenter Server.

Resolution

To resolve the issue, follow the steps below to bypass the reverse DNS lookup by manually adding the vCenter Server entry to the Usage Meter appliance's hosts file:

  • Take a snapshot of the Usage Meter appliance to preserve the current state.
  • Remove the vCenter Server from the Usage Meter web UI that is showing the "Credential Verification Failure" error.
  • SSH into the Usage Meter appliance as the root user.
  • Open the hosts file for editing using:
    • vi /etc/hosts
  • Add the vCenter Server entry in the following format:

    • If the vCenter Server does have a FQDN, use:
      # Begin /etc/hosts (network card version)
      
      ::1         ipv6-localhost ipv6-loopback
      127.0.0.1   localhost.localdomain
      127.0.0.1   localhost
      # End /etc/hosts (network card version)
      127.0.0.1 xyz.xyz.local
      <vCenter_IP>    <vCenter_FQDN>

       

    • If the vCenter Server does not have a FQDN, use:
      # Begin /etc/hosts (network card version)
      
      ::1         ipv6-localhost ipv6-loopback
      127.0.0.1   localhost.localdomain
      127.0.0.1   localhost
      # End /etc/hosts (network card version)
      127.0.0.1 xyz.xyz.local
      <vCenter_IP>    vc-<V-C-I-P>.local
      
      Example:
      xx.xx.xx.xx  vc-xx-xx-xx-xx.local
  • Save and exit the file by typing:
    • :wq!
  • Reboot the Usage Meter appliance to apply the changes:
    • reboot -f
  • After the appliance reboots, log in to the Usage Meter UI as usagemeter.
  • Re-add the vCenter Server and click Save.