- Take a full database and appliance backup of the VCD environment before making configuration changes.
- Examine and validate all relevant configuration property values:
- restapi.baseHttpUri
- restapi.baseUri
- ui.baseHttpUri
- ui.baseUri
- consoleproxy.external.address
- webapp.allowed.origins
For VCD 10.2.x and earlier:
- Query current property values directly via this database query:
select name,value from config where name in ('restapi.baseHttpUri','restapi.baseUri','ui.baseHttpUri','ui.baseUri','consoleproxy.external.address','webapp.allowed.origins');
- View individual property values using the cell management tool:
/opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n ui.baseUri -l
- Update incorrect property values using the cell management tool, ensuring entry casing matches client request origins exactly:
/opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n ui.baseUri -v "https://####################"
For VCD 10.3 and later:
- Query current CORS settings via API Explorer by browsing to:
- https://####################/api-explorer/provider/#/cors
- Click Try it out, then click Execute.
- Update CORS settings via API Explorer by browsing to:
- https://####################/api-explorer/provider/#/cors
- Click Try it out
- Paste the updated values into the allowedOrigins field ensuring casing matches client request origins exactly
- Click Execute.
Contact Broadcom Support for further assistance.