paho.mqtt.android icon indicating copy to clipboard operation
paho.mqtt.android copied to clipboard

Mqtt websocket attempts to reconnect throwing EOF exception

Open linguokun1 opened this issue 7 years ago • 3 comments

#358 I think this issue still exist

linguokun1 avatar Jun 26 '18 02:06 linguokun1

请问这个问题,你找到了解决方案了吗,我这边项目也出现了相同的情况

yumo-Don avatar Jul 30 '18 12:07 yumo-Don

还没找到

linguokun1 avatar Jul 31 '18 06:07 linguokun1

I had the same problem 。 Maven 依赖是这个 image

Problem Description:

I create 5000 or 10000 mqtt clients in the loop. This problem appears in the process of rapid creation.

The exception information is as follows: 2021-03-12 17:35:53 [ERROR] MqttException,CONNECTION_LOST !!! sn SKYWAY0004057644 ,线程是 pool-1-thread-105 已断开连接 (32109) - java.io.IOException: Connection is lost. at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:197) at java.lang.Thread.run(Thread.java:748) Caused by: java.io.IOException: Connection is lost. at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:172) ... 1 more

SZMOFEI avatar Mar 12 '21 10:03 SZMOFEI