Page 1 of 1

Need a help

Posted: Thu Aug 08, 2019 8:11 pm
by MaxP
Hi!

I use umqtt on ESP8266 to connect to Thingsboard MQTT broker.

AFAIK the in current implementation of umqtt, after subscribing to a topic the server must send a response, therefore the client waits for that response. However the Thingsboard built-in MQTT https://yappem.com/www-survey-walmart-c ... art-survey broker does not send any response after subscribe, so my program waits forever.
Could you please recommend any workaround? How should I rewrite the umqtt.simple to handle this behavior?

Thanks.

Broken brokers

Posted: Fri Aug 09, 2019 8:02 am
by pythoncoder
My personal view is that trying to code around a broken broker is a hiding to nothing - you'll be forever chasing other non-conformant behaviour. Use a proper broker, e.g. mosquitto which will run happily on minimal hardware such as a Raspberry Pi.