react-stomp icon indicating copy to clipboard operation
react-stomp copied to clipboard

Link Multiplexing Problem After Reconnection

Open omercelikceng opened this issue 3 years ago • 0 comments

I am using;

  • RabbitMQ Websocket with Spring Integration for backend; (spring-boot-starter-parent : 2.3.0.RELEASE, spring-cloud-dependencies : Hoxton.SR5)

  • "react-stomp 5.1.0" at frontend

I installed RabbitMQ cluster with 3 instances.

My issue is : If I close one of the instance in the cluster, my websocket connections get multiplexed.

I searched the issue but couldn't find anything. I notice that when one of the nodes is down, the client is periodically requesting reconnection. In my opinion, this is expected behaviour. However, I see that the number of connections increases more than the previous state when the connection is successfully performed.

For example ; there are 20 connections at the beginning. When one of the rabbit nodes falls, the number of connections decreases first(for example : 12), then client requests a reconnection then connection number increases to 30 which is more than the initial connection number 20.

What's the point I am missing if exists? Can anyone help me?

omercelikceng avatar Aug 11 '21 05:08 omercelikceng