On Mon, Sep 10, 2012 at 7:24 PM, Lange, Kevin M. (GSFC-423.0)[RAYTHEON COMPANY] <[email protected]> wrote: > Hi, > Our public-facing service provides a REST api to search for products > (geospatial science data), which requires in many cases very long URLs to > craft the search. We seem to be hitting a limit of around 8K before we > receive a 400 Bad request from lighttpd. We're trying to determine if > lighttpd is causing this, or haproxy. We have a dev/test stack > (lighttpd/haproxy on Linux) and an OPS stack of the same. Our OPS stack we > thought we had test results of the URL length maximum, but after we upgraded > haproxy to the latest on our OPS stack, we noticed that people began > complaining about the URL length issue (maximum 8k). Is there a > configurable item in haproxy which would limit a URL length to ~8k? > Suggestions from searches show that tune.bufsize might control this. We'd > like to offer our customers a 10k length for REST api calls. > - Kevin > > Kevin Lange > [email protected] > [email protected] > W: +1 (301) 851-8450 > Raytheon | NASA | ECS Evolution Development Program > https://www.echo.nasa.gov | https://www.raytheon.com >
Hi, The 400 error may be issued by HAProxy. To know it, you should enable logs and share them here, so we'll know the real reason of the error. I would have say like Richard: give a try to a bigger tune.bufsize . cheers

