Invalid query" or "HTTP response with status code 431 (enable debug logging for details): Request Header Fields Too Large" comes when trying to Edit the DRS settings
From the /var/log/vmware/vsphere-ui/logs/vsphere_client_virgo.log
Caused by: com. vmware. vapi. client. exception. TransportProtocolException: HTTP response with status code 431 (enable debug logging for details) : Request Header Fields Too Largeat com. vmware. vapi. internal. protocol. client. rpc.http. ApacheHttpUtil. validateHttpResponse (ApacheHttpUtil. java: 101)at com. vmware. vapi. internal. protocol. client. rpc.http. handle. NioSingleResponseConsumer. responseCompleted (NioSingleResponseConsumer. java: 61)at com. vmware. vapi. internal.protocol. client. rpc.http.handle. NioDecoratorConsumer. responseCompleted (NioDecoratorConsumer. java: 45)at org. apache.http. impl.nio.client.MainClientExec. responseCompleted (MainClientExec. java : 383)at org. apache. http. impl.nio.client.DefaultClientExchangeHandlerImpl. responseCompleted (DefaultClientExchangeHandlerImpl. java: 173)at org. apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse (HttpAsyncRequestExecutor. java: 448)at org. apache. http.nio.protocol. HttpAsyncRequestExecutor. inputReady (HttpAsyncRequestExecutor. java: 338)at org. apache. http. impl.nio. DefaultNHttpClientConnection. consumeInput (DefaultNHttpClientConnection. java: 265)
VMware vCenter Server 8.x
This issue occurs due to browser caching of UI elements from the previous vCenter Server version. The cached elements from version 7.0 conflict with the new 8.0 interface components, causing unexpected behavior such as:
To resolve this issue:
Method 1:
Method 2:
service-control --stop vsphere-uiservice-control --start vsphere-uiMethod 3:
service-control --stop allservice-control --start all