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回答
1
承認された回答
profile picture
エキスパート
回答済み 1ヶ月前
profile picture
エキスパート
レビュー済み 1ヶ月前
  • Thanks!! it worked!

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ