Skip to content

Socket connection reset every 2min - Application load balancer

0

I'm encountering an issue where WebSocket connections reset every 2-3 minutes, despite enabling group stickiness on our application load balancer (ALB). We're using the ALB to distribute traffic among multiple instances of our application. It seems to work perfectly in my local, so issue is not with the code.

Here are the steps I've taken:

  • Enabled group stickiness on the ALB
  • Turned stickiness for target group as well

Is there anything else I should be considering or any additional configurations I might need to implement to maintain persistent WebSocket connections? Any insights or suggestions would be greatly appreciated. Thanks!

1 Answer
1
Accepted Answer
EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
  • Thanks!! it worked!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.