NodeMCU - mqtt client not connecting


I am trying to execute MQTT example on NodeMCU.

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

client.connect(“”, 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 …


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:


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


Hi makerns, 
the new patch is out: