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!

Nithish
gefragt vor einem Monat436 Aufrufe
1 Antwort
1
Akzeptierte Antwort
profile picture
EXPERTE
beantwortet vor einem Monat
profile picture
EXPERTE
überprüft vor einem Monat
  • Thanks!! it worked!

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen