Score:0

AWS ALB Handshake resumption

sy flag

I have a problem where the AWS ALB TCP is initiated and every request which causes unnecessary latency of 0-150ms Example from postman to show what happens at every request. DNS lookup, TCP Handshake and SSL handshake are all initiated

And when I access the instance directly. The aforementioned does not occur. Another example from postman

Thanks and any help is appreciated.

On the load balancer, I'm using the AWS certificates and since they can't get exported I'm using LetsEncrypt on the EC2 instances

Edit: How can I prevent the ALB from re-doing the handshakes and dns lookup

jp flag
and what is the question?
lat3r avatar
sy flag
To note when accessing the load balancer using http:// (the ssl handshakes doesn't re-initiate at every request). The http listener just redirects to https with the same URI
lat3r avatar
sy flag
sorry @AlexD edited
Score:0
sy flag

Setting Desync mitigation mode to Monitor causes this to be solved. Found this just by experimenting with a different ALB. Hope this saves someone from the headache.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.