NSX Load Balancer (NSX-LB) with VMware Identity Manager (Patch CSP-102092), running Tomcat 9 may experience login failures with the following symptoms:
/opt/vmware/horizon/workspace/logs/catalina.log logs show entries such as:
Error parsing HTTP request header
The root cause was identified as Tomcat 9 rejecting the “Remote Port” HTTP header as invalid, due to a space character in the header name.
Update the NSX Load Balancer (NSX-LB) configuration to remove the whitespace from the header name.
Steps:
Navigate to Networking > Load Balancing > Virtual Servers.
Select the vIDM HTTPS Virtual Server and click Edit.
Go to Load Balancer Rules > Request Rewrite Phase.
Click on the existing Rule and then select Edit Rule.
In the rule configuration, remove the space in the header name.
Change “Remote Port” to “RemotePort”.
Click Save to apply the rule changes.
Finally, Save the Virtual Server configuration to commit the updates.
Pleas check the below screenshot for reference.