Authentication error when adding NSX to Usage Meter
search cancel

Authentication error when adding NSX to Usage Meter

book

Article ID: 425708

calendar_today

Updated On:

Products

VMware Usage Meter VMware NSX

Issue/Introduction

  • When attempting to register an NSX instance to Usage Meter, an error similar to the following is generated:

    Credential verification failed with message 'HTTP GET policy/api/v1/aaa/user-info on server 68 failed with: timeout'

  • The same account credentials for NSX that are specified in Usage Meter can be used to log in directly to NSX
  • The account credentials for NSX that are used are not local, i.e., they are for an LDAP account.
  • In the /var/log/nsx-audit.log file on the NSX manager you will see successful logins from the account that Usage Meter is using:

    <182>1 2025-12-19T16:51:02.083Z ######## NSX 84192 SYSTEM [nsx@6876 audit="true" comp="nsx-manager" level="INFO" subcomp="http"] UserName="LdapUserDetailsImpl [Dn=CN=####,OU=###,OU=###,DC=server,DC=com; [email protected]; Password=[PROTECTED]; Enabled=true; AccountNonExpired=true; CredentialsNonExpired=true; AccountNonLocked=true; Granted Authorities=[####, ####, ####, ####, ####, ####, ####, ####]]@192.128.0.51", ModuleName="ACCESS_CONTROL", Operation="LOGIN", Operation status="success"

Environment

  • Usage Meter 9.0.1
  • NSX 9.0.1

Cause

Usage Meter is not properly processing the authentication via LDAP with NSX.

Resolution

Use the local admin NSX account credentials when connecting Usage Meter with NSX.