Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link Multiplexing Problem After Reconnection #196

Open
omercelikceng opened this issue Aug 11, 2021 · 0 comments
Open

Link Multiplexing Problem After Reconnection #196

omercelikceng opened this issue Aug 11, 2021 · 0 comments

Comments

@omercelikceng
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant