Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS Application Load Balancer : Request Header Or Cookie Too Large

AWS's new Application Load Balancer is throwing an error : 400 Bad Request, Request Header Or Cookie Too Large, awselb/2.0

How do i increase the size in aws-elb. It was working fine with the classic load balancer.

like image 428
Kechit Goyal Avatar asked Aug 25 '16 12:08

Kechit Goyal


1 Answers

we spoken to aws about the same issue, we were sending a header request of a total of 33k, but one of our header ( authorization) size was 30 , but the limit ALB accepts for is as follows : - 16K per request line - 16K per single header - 64K for the entire header

like image 127
Agnello Dsouza Avatar answered Sep 21 '22 04:09

Agnello Dsouza