1 Answer
- Newest
- Most votes
- Most comments
1
Hi, on your first point, Content-Length doesn't include cookies. See https://stackoverflow.com/questions/2773396/whats-the-content-length-field-in-http-header.
On max cookie size for Application Load Balancer, it's 16K. See https://docs.aws.amazon.com/elasticloadbalancing/latest/application/sticky-sessions.html on sticky sessions
Since most browsers limit cookies to 4K in size, the load balancer shards
application cookies greater than 4K into multiple cookies. Application
Load Balancers support cookies up to 16K in size and can therefore create up to 4 shards that
it sends to the client
Your error message says "Request header or cookie too large", so what is the content of your request sent when you click?
Best,
Didier
Relevant content
- asked 6 years ago
- asked 4 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 3 months ago
I realized that it had to do with trying to configure my site for https connections. I ended up figuring it out, mostly, but it had to do with deeper issues.