Why the callback "on_message" is not triggered?


#1

I take the Paho Python example, but i don’t understand why the calback “on_message” is not triggered when a message is published correctly in the same topic that i’m subscribed.
This the code I used:


This the exit code I’ve got:
Captura


#2

Hello,
This question is not related to MyQttHub but more about coding and how to use client library you are using. Please, review Paho documentation and code.

Here some tips: