eclipse-paho / eclipse-paho/paho.mqtt.java
The client is connected and then disconnected
- Dominant language
- Java
- Stars
- 2.3k
- Forks
- 919
- PR merge metrics
- No merged PRs in 30d
Description
The client is connected and then displayed disconnected, but can receive information
This is my journal:
MQTT Client connected to centor broker.
Connected to server: tcp://localhost:7883
Subscribed to topic: online01Topic
2024-10-30 14:16:06.759 ERROR 37544 --- [ec: mqtt_fx0604] .m.i.MqttPahoMessageDrivenChannelAdapter : Lost connection: 已断开连接; retrying...
Message received on topic online01Topic: online01
Message delivery complete.
Connection lost! Reason: 已断开连接
2024-10-30 14:39:15.244 INFO 37544 --- [ll: mqtt_fx0604] c.b.c.c.MqttMessageHandlerConfig : Received message: Topic = Mosquitto_bridge, Payload = {
"DALI": "ff00"
}
Contributor guide
Research direction
The report names no source files or tests. Start by reproducing the sequence using the journal details, including tcp://localhost:7883, the centor broker, and the Mosquitto_bridge message, then inspect the connection and retry logs. Done requires a confirmed cause for the displayed disconnect and a verified fix or a documented broker-side cause.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100