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!
Thanks!! it worked!