eclipse / paho.mqtt.python

paho.mqtt.python
Other
2.17k stars 723 forks source link

loop start thread died without any log #692

Open rty813 opened 1 year ago

rty813 commented 1 year ago

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 image image

MattBrittan commented 8 months ago

Interesting - thanks for the screenshots (and sorry for the huge delay in replying). There are a number of possibly related issues open and some PR's going into the next release (due out shortly) that may help.

Unfortunately it's difficult to see what's happening from the screenshots (because, as you say, the point of interest is that PUBLISH stops!). Are you able to provide any further info? (a reproducer would be great, but in the absence logs (broker or client) or more general info (is this still happening, is it a one off etc) would be helpful).

Without more info I think we will need to ask you to wait for the next release and test with that (as it may fix this and includes quite a few fixes).

Note: This is part of an exercise to clean up old issues so that the project can move forwards.