When attempting to create or modify an IP Set in the VMware Cloud Director Tenant Portal, the operation fails with the error: Unexpected token '<', "<html><bod" ... is not valid JSON.
Navigation Path:
VCD Tenant Portal > Data Centers > Org VDC > Networking > Edges > <Edge_Gateway> > Security > IP Sets
The issue is observed in the following scenarios:
Editing an existing IP Set and clicking Save
Creating a new IP Set and clicking Save
The issue occurs only when the description field of the IP Set contains more than 127 characters and VMware Cloud Director is accessed through the Load Balancer (LB) address.
Bypassing the load balancer following KB/374695 and accessing VMware Cloud Director directly through the internal cell IP address does not exhibit this symptom even if the Description field exceeds 127 characters.
VMware Cloud Director 10.6.x
This behavior is caused by the Load Balancer handling the request.
When the description exceeds 127 characters, the Load Balancer may enforce character limits or request inspection policies.
Engage the load balancer vendor to determine whether there are any character limit restrictions or request inspection policies configured on the load balancer.
Workaround:
Reduce the Description field to lesser than 127 characters when saving the IP Set while accessing VCD through Load Balancer address.