Error: "414 Request-URI Too Large" when loading Load Balancer Health Monitors on an Edge
search cancel

Error: "414 Request-URI Too Large" when loading Load Balancer Health Monitors on an Edge

book

Article ID: 445638

calendar_today

Updated On:

Products

VMware Avi Load Balancer VMware Cloud Director

Issue/Introduction

  • Loading of the Load Balancer - Health Monitors UI pages fails in Cloud Director (VCD).
  • The text "No health monitors found" is seen.
  • An NGINX error message appears on UI like follows:

    [ <request-id> ] <html> <head><title>414 Request-URI Too Large</title></head> <body> <center><h1>414
    Request-URI Too Large</h1></center> <hr><center>nginx</center> </body> </html>

Environment

  • VMware Cloud Director 10.6.1.x
  • VMware NSX Advanced Load Balancer

Cause

This issue occurs when there are a large amount of Load Balancer Server Pools configured on the Edge. During health monitor fetching, VCD transmits an outbound API HTTP GET request to the NSX ALB controller(s).  The underlying NGINX reverse proxy on the NSX ALB appliance has a client header buffer size limitation of 8 KB. If the payload size of the API GET request sent by VCD exceeds the 8 KB boundary, NGINX drops or rejects the HTTP transaction, causing the API retrieval workflow to fail.

Resolution

This is a known issue.

Workaround:

Reduce the amount of Pools configured on the Load Balancer until the payload size is under 8kb

Additional Information

Add a Load Balancer Server Pool in the VMware Cloud Director Service Provider Admin Portal VMware Cloud Director Tenant Portal