eclipse-paho / eclipse-paho/paho.mqtt.java

Connection Lost Functionality issue in docker container

Open
#770 1 comment 0 reactions 0 assignees View on GitHub
More Information Required
Dominant language
Java
Stars
2.3k
Forks
919
PR merge metrics
No merged PRs in 30d

Description

Please fill out the form below before submitting, thank you!

- [ ] Bug exists Release Version 1.2.3 ( Master Branch)
- [x] Bug exists in MQTTv3 Client on Snapshot Version 1.2.4-SNAPSHOT (Develop Branch)
- [ ] Bug exists in MQTTv5 Client on Snapshot Version 1.2.3-SNAPSHOT (Develop Branch)

If this is a bug regarding the Android Service, please raise the bug here instead: https://github.com/eclipse/paho.mqtt.android/issues/new

Hello,

On a network disconnect, connection loss takes almost 20 minutes to trigger. The environment set up is a centOS system with MQTT running inside a docker container. The only setting applied is clean session turned to true. Auto-Reconnect is in its default state. The same application outside a docker container in a windows environment takes under a minute to detect a connection loss. Why is there such a huge delay for connection loss to trigger?

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Reproduce the network disconnect with the MQTTv3 client on the 1.2.4-SNAPSHOT develop branch in the described CentOS Docker setup, then compare it with the Windows run. Done means identifying the cause of the delay and documenting or testing the expected connection-loss detection behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.