Adding vRA 7.6 to Usage Meter 4.3 fails with error "Invalid Credentials"
search cancel

Adding vRA 7.6 to Usage Meter 4.3 fails with error "Invalid Credentials"

book

Article ID: 322760

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
When adding vRA 7.6 to Usage Meter 4.3, it fails with invalid credentials. Upon validation, credentials are found correct. A similar log snippet is found.
| ERROR | t_credentials_create | com.vmware.um.vracollector.api.VRAClient | IaaS credentials error for server 17. Please correct the IaaS credentials. GET https://x.x.x.x:443/repository/Data/ManagementModelEntities.svc/ProvisioningGroups failed: stream was reset: HTTP_1_1_REQUIRED=>stream was reset: HTTP_1_1_REQUIRED
| ERROR | t_credentials_create | com.vmware.um.vracollector.api.VRAClient | GET https://x.x.x.x:443/repository/Data/ManagementModelEntities.svc/ProvisioningGroups failed: stream was reset: HTTP_1_1_REQUIRED
| ERROR | t_credentials_create | com.vmware.um.vracollector.api.VRAClient | IaaS credentials error for server 17. Please correct the IaaS credentials. GET https://x.x.x.x:443/repository/Data/ManagementModelEntities.svc/ProvisioningGroups failed: stream was reset: HTTP_1_1_REQUIRED=>stream was reset: HTTP_1_1_REQUIRED
| ERROR | t_credentials_create | com.vmware.um.vracollector.api.VRAClient | GET https://x.x.x.x:443/repository/Data/ManagementModelEntities.svc/ProvisioningGroups failed: stream was reset: HTTP_1_1_REQUIRED
| ERROR | t_credentials_create | com.vmware.um.vracollector.api.VRAClient | IaaS credentials error for server 17. Please correct the IaaS credentials. GET https://x.x.x.x:443/repository/Data/ManagementModelEntities.svc/ProvisioningGroups failed: stream was reset: HTTP_1_1_REQUIRED=>stream was reset: HTTP_1_1_REQUIRED
| ERROR | t_credentials_create | com.vmware.um.vracollector.api.VRAClient | GET https://x.x.x.x:443/repository/Data/ManagementModelEntities.svc/ProvisioningGroups failed: stream was reset: HTTP_1_1_REQUIRED
| ERROR | t_credentials_create | com.vmware.um.vracollector.api.VRAClient | IaaS credentials error for server 17. Please correct the IaaS credentials. GET https://x.x.x.x:443/repository/Data/ManagementModelEntities.svc/ProvisioningGroups failed: stream was reset: HTTP_1_1_REQUIRED=>stream was reset: HTTP_1_1_REQUIRED





Environment

VMware vCloud Usage Meter 4.x

Cause

Usage Meter is unable to communicate over HTTP2 with the IaaS server.

Resolution

Procedure

  1. Disable HTTP2 on the IaaS machine and reboot the machine. Once the IaaS machine comes up, Usage Meter will pick up HTTP1.1 and you should be able to add vRA to Usage Meter.
Note: If there are two or more IaaS servers, disable HTTP2 on all of them and reboot.


How to disable HTTP2

  1. Start regedit.
  2. Navigate to the folder/path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters.
  3. Under the Parameters folder, right-click the white-space, add 2 new DWORD (32-bit) values:
  • EnableHttp2Tls
  • EnableHttp2Cleartext
  1. Ensure both new values have been set to 0(disabled) by right-clicking the value and clicking "Modify..."
  2. Restart the OS.

How to disable HTTP2 on Windows Server 2019

  1. Start the IIS Manager. In the left pane, go to the website under which the portal virtual directory is added.
  2. In the Actions column displayed in the right pane, click Bindings.
  3. While adding HTTPS port binding, select the check box for the Disable HTTP/2 parameter.
  4. Save the change and perform an IIS reset.