eclipse-paho / eclipse-paho/paho.mqtt.python

loop start thread died without any log

Open
#692 1 comment 0 reactions 0 assignees View on GitHub
Status: Available Status: More info needed
Dominant language
Python
Stars
2.4k
Forks
742
Avg merge
12d 48m
Merged PRs (30d)
1

Description

paho_mqtt version: 1.6.1
python version: 3.8
My program recv and publish msgs circularly. And suddenly, the program cannot receive or send any message
and the _on_disconnect method was never called.
Here is the log:

![image](https://user-images.githubusercontent.com/22488813/205242075-c0273279-bb80-4fec-93bf-145ec4e5ee41.png)
![image](https://user-images.githubusercontent.com/22488813/205241744-c457361e-7483-4d52-a879-f2b225a7c0a2.png)
![image](https://user-images.githubusercontent.com/22488813/205241854-afe360dd-e751-40a1-abe1-dabbbfdfc816.png)

Contributor guide

Open the contributing guide

Research direction

Start with the reported paho-mqtt 1.6.1 and Python 3.8 setup, the circular receive/publish loop, and the attached logs. Inspect the network-loop or thread entry point and the _on_disconnect callback, then build a minimal reproducer for the silent stoppage. Done means the failure is explained and covered by regression evidence.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.