Error 400 (Bad Request) during a vCenter redirect after changing the Aria Operations Load Balancer hostname
search cancel

Error 400 (Bad Request) during a vCenter redirect after changing the Aria Operations Load Balancer hostname

book

Article ID: 441306

calendar_today

Updated On:

Products

VMware Aria Operations (formerly vRealize Operations) 8.x

Issue/Introduction

  • Receive HTTP Status 400 – Bad Request while attempting a redirect to vCenter Server from the Aria Operations UI.
  • The issue occurs after changing the FQDN/hostname of the Aria Operations Node or the Load Balancer FQDN.
  • Accessing the nodes directly via IP or individual node FQDN works, but the Load Balancer FQDN fails.
  • In the /var/log/vmware/envoy/envoy-access.log on the vCenter Server, similar entries
    YYYY-MM-DDTHH:MM:SS info envoy[PID] [Originator@6876 sub=Default] YYYY-MM-DDTHH:MM:SS GET /websso/SAML2/SSO/vsphere.local?SAMLRequest=<SAML Token> 400 via_upstream - 0 300 zstd 24 24 0 <Aria Ops Node IP>:62612 HTTP/2 TLSv1.2 <vCenter Server IP>:443 127.0.0.1:36080 HTTP/1.1 - 127.0.0.1:7080 - -

 

Cause

When the hostname or Load Balancer FQDN of an Aria Operations cluster is changed, the SSO service integration on the vCenter Server is not automatically updated. vCenter Server expects the authentication callback (Redirect URI) to originate from the previously configured hostname. When Aria Operations sends a request using the new FQDN, vCenter blocks it as a security precaution, resulting in the 400 Bad Request error.

Resolution

In order to resolve, the vCenter Server adapter needs to be removed and re-registered on Aria Operations.

  1. Delete the vCenter Adapter in Aria Operations

    1. Log in to the VMware Aria Operations UI.
    2. Navigate to Administration > Integrations.
    3. Locate your vCenter integration instance, click the three vertical ellipses, and select Delete.

Note: Uncheck Delete related objects to preserve historical data for that vCenter.

  1. Add vCenter Server Cloud Account in Aria Operations. Refer to Configure a vCenter Server Cloud Account in VMware Aria Operations