HTTP 400 error when accessing an application
search cancel

HTTP 400 error when accessing an application

book

Article ID: 297562

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

Symptoms:

An application running on Pivotal Cloud Foundry returns HTTP 400 error with the following body for some requests.  

<html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>

 

Environment


Cause

There is a buffer limit for HTTP headers in haproxy that is used in Elastic Runtime. By default it's configured with 16KB. If the request has a big header, for example with cookies, haproxy responds with the 400 error as shown above. 

     

    Resolution

    • Increase "Request Max Buffer Size" at Networking settings on Operations Manager in Elastic Runtime
    • Hit "Apply Changes" button to update the haproxy VMs