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:
Take snapshot of Usage Meter appliance.
SSH to Usage Meter using root user.
Run below command to update hostname in lowercase.
setup-hostname.sh <Hostname_lowercase>
Validate forward/reverse DNS record do not have old hostname in DNS server.
Replace certificate on Usage Meter with correct "Certificate Subject Alternative name". Refer Techdoc