<timestamp> INFO http-nio-127.0.0.1-7440-exec-### UI_LOG ### - [nsx@6876 comp="nsx-manager" level="INFO" reqId="######" subcomp="manager" username="####"] {"user":"####","message":{"error_message":"Error: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">n<html><head>n<title>414 Request-URI Too Long</title>n</head><body>n<h1>Request-URI Too Long</h1>n<p>The requested URL's length exceeds the capacitynlimit for this server.<br />n</p>n<p>Additionally, a 400 Bad Requestnerror was encountered while trying to use an ErrorDocument to handle the request.</p>n</body></html>n (Error code: 414)","error_code":414}VMware NSX-T 4.2.1
The "414 Request-URI Too Long" error is caused by an external Apache proxy/SSL Gateway intercepting and rejecting the search requests. The LimitRequestline directive within the Apache proxy's configuration (apache2.conf) is set to 512 bytes. This limit is insufficient to accommodate the increased length of search query URIs generated by NSX 4.2.1, which are longer than those generated by NSX 4.1.1.
To resolve this issue, increase the LimitRequestline value in the apache2.conf configuration file of the external Apache proxy/SSL Gateway to at least 1024 bytes.
Here are the steps to be followed to resolve the issue:
LimitRequestline 512LimitRequestline 1024