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

ConnectionClosedException: Server closed connection without DISCONNECT. #114

Open
kenlee0305 opened this issue Dec 14, 2021 · 3 comments
Open

Comments

@kenlee0305
Copy link

When i run my test plan with the number of threads exceeding 50, the test with the number of threads 51 starts getting the following exception. Does anyone know how to fix it?

Thank you

SEVERE: Failed to establish Connection null
java.util.concurrent.ExecutionException: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.
at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096)
at net.xmeter.samplers.mqtt.hivemq.HiveMQTTClient.connect(HiveMQTTClient.java:78)
at net.xmeter.samplers.ConnectSampler.sample(ConnectSampler.java:91)
at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:638)
at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:558)
at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:489)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:256)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: com.hivemq.client.mqtt.exceptions.ConnectionClosedException: Server closed connection without DISCONNECT.

@Ragulpalaniappan
Copy link

Any update on this ?? I am also facing same issue

@LinhNDD1-NAL
Copy link

did you testing with csv file loaded? I am also facing same issue when I try load csv config

@alvinjoseph7
Copy link

Try increasing the setting for number of open files by typing : ulimit -n 20000

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

4 participants