NodeMCU - mqtt client not connecting


#1

I am trying to execute MQTT example on NodeMCU.

With additional print commands, I found that code stuck on this line

client.connect(“test.mosquitto.org”, 60)

I tried one trick, and force wrong host name (delete last g letter), and in that situation, I got exception … With correct host name, nothing happened …



#2

Hi makerns,
thank you for reporting this issue, we will work on a fix and release a patch in a few days.
Stay tuned! :slight_smile:


#3

Hi makerns,
I’m happy to inform you that your issue has been fixed and will be released with the next rolling update :wink:


#4

Hi makerns, 
the new patch is out:
https://community.zerynth.com/discussion/550/patch-p02-for-zerynth-r2-0-10-is-available-with-support-for-nodemcu-esp-32s-and-bug-fixes

Enjoy!