Reconnection on multiple node instance while using azure web pubsub socket.io instance

Vivek Purohit 0 Reputation points
2024-08-13T13:56:07.89+00:00

While client connect to Node server instance1 via azure web pubsub socketio instance , here node server instance1 listening to port 3000 and due to internet loss or wifi change from client side, now its reconnect to Node server instance2 that listen to port 3001,

So How to make sticky session, or is there any way client always reconnect to same server?

Azure Web PubSub
Azure Web PubSub
An Azure service that provides real-time messaging for web applications using WebSockets and the publish-subscribe pattern.
79 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Kevin Guo 85 Reputation points Microsoft Employee
    2024-08-20T07:10:40.4066667+00:00

    Please see my comment above.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.