STOMP broker relay only allows up to 15 client connections [SPR-16626] #21167
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
spring-projects-issues commentedMar 22, 2018
Stephen Franklin opened SPR-16626 and commented
I'm using Spring Messaging and Websocket to connect to RabbitMQ. I'm only able to make 15 client websocket connections to RabbitMQ, plus one system connection. Attempting to connect more than 15 clients times out after 45 seconds with the following exception:
ERROR 20500 --- [ient-loop-nio-4] o.s.m.s.s.StompBrokerRelayMessageHandler : TCP connection failure in session f: Failed to connect: Acquire operation took longer then configured maximum time
java.util.concurrent.TimeoutException: Acquire operation took longer then configured maximum time
at io.netty.channel.pool.FixedChannelPool.<init>(...)(Unknown Source) ~[netty-transport-4.1.21.Final.jar:4.1.21.Final]
This can be reproduced using the websocket guide at https://spring.io/guides/gs/messaging-stomp-websocket/ by configuring the stomp broker relay to connect to an external broker and attempting to connect more than 15 times.
Affects: 5.0.4
The text was updated successfully, but these errors were encountered: