I’m running two dockers : one for the mqtt server using mosquitto the other using flask_mqtt the flask container is receiving the CONNACK and is sending the subscribe to the broker but never get any SUBACK however it manages to publish hello word to /home/mytopic (mqtt-explorer proof) this is quite strange because it works without any problem outside of a
Tag: mqtt
How to connect to a digitransit broker with a specific topic using paho mqtt client
I am pretty new to MQTT and I would like to establish a connection to a digitransit mqtt broker to receive public transportation data using python paho mqtt client. To connect to a broker the port and the topic is needed. Regarding the information provided in the broker source I guess I need at least two pieces of information but
mosquitto mqtt broker won’t send more than 20 publish packets to subscriber
I’m currently working on a MQTT client using python, and come to the point where i can create clients that publish and subscribe to the Mosquitto broker. The problem is that, no matter what, the mosquitto broker will send only a maximum of 20 PUBLISH packets to a subscriber client, even if it stay connected for long periods of time.
VerneMQ single publish messages lost when client is offline
I am quite new to MQTT and brokers, but I am having an issue with VerneMQ not sending offline messages to clients. Here is my setup. I have a backend written in Python which is using the Paho Eclipse MQTT library’s single() method to send messages to a connected client. The client, a virtual machine on my development station, has
Paho MQTT Python Client: No exceptions thrown, just stops
I try to setup a mqtt client in python3. This is not the first time im doing this, however i came across a rather odd behaviour. When trying to call a function, which contains a bug, from one of the callback functions (on_connect or on_message), python does not throw an exception (at least it is not printed), it just stops
MQTT Python-Client disconnect ungracefully
I wrote basic MQTT python-client. But it disconnect ungracefully without giving any error. When i look event log file i found it’s connected and same time is disconnected ungracefully. Here i attached a snap of event log also. Answer @MikeScotty’s answer is not right. What’s missing is starting the MQTT network loop. The loop needs to be started to handle