Symptoms:
VMware Cloud Director
This issue occurs when you are connecting to Cloud Director via a Load Balancer which has limitations set to the Header Size, Header Count, or Response Size that do not meet the recommended settings outlined in the documentation.
VMware Cloud Director Cell Load Balancing Configuration
When these settings are below the recommended configuration, a response sent by the VMware Cloud Director API can exceed them and the Load Balancer resets the connection causing the API call to fail.
The Cloud API (cloudapi) is based on OpenAPI which places links in the headers making the Payload and Header Count substantially larger than default HTTPS profiles on Load Balancers generally allow.
Configure the Load Balancer to meet the recommended settings outlined in the documentation.
VMware Cloud Director Cell Load Balancing Configuration
If it is not possible to reconfigure the Load Balancer, you can workaround this issue by limiting the Query Service Max Page Size. However, this will impact page load times across the entire VMware Cloud Director environment. See Updating Application Configuration Settings in VMware Cloud Director for more details.
/opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n restapi.queryservice.maxPageSize -v 64
/opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n restapi.queryservice.maxPageSize -l