Failing to login to VCF Usage Meter 9.0 with error "Server error. HTTP status code: 400 [invalid_request] OAuth 2.0 Parameter: redirect_uri".
search cancel

Failing to login to VCF Usage Meter 9.0 with error "Server error. HTTP status code: 400 [invalid_request] OAuth 2.0 Parameter: redirect_uri".

book

Article ID: 397508

calendar_today

Updated On:

Products

VMware Usage Meter

Issue/Introduction

  • After upgrade, Unable to login to VCF Usage Meter 9.0 ui page using FQDN/IP Address. Getting error "Server error. HTTP status code: 400 [invalid_request] OAuth 2.0 Parameter: redirect_uri".
  • VAMI page is accessible using same URL.

Environment

VCF Usage Meter 9.0

Cause

Usage Meter hostname is combination of lowercase and uppercase affecting the login.

Resolution

Resolution:

  1. Take snapshot of Usage Meter appliance.
  2. SSH to Usage Meter using root user.
  3. Run below command to update hostname in lowercase.
    setup-hostname.sh <Hostname_lowercase>
  4. Validate forward/reverse DNS record do not have old hostname in DNS server.
  5. Replace certificate on Usage Meter with correct "Certificate Subject Alternative name". Refer Techdoc
  6. Reboot the appliance.