Soft WDT Reset NodeMCU ESP8266 MQTT

Hello, i’m trying to connect my NodeMCU to Ubidots Via MQTT. I’ve done all the set up procedure just like this tutorial https://help.ubidots.com/en/articles/513324-connect-a-nodemcu-esp8266-to-ubidots-over-mqtt and using the example code provided. Instead, my device got resetted everytime it try to connect to WiFi. Here is what shown in my serial monitor:

WiFi connected
IP address:
192.168.1.6
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
Soft WDT reset

stack>>>
ctx: cont
sp: 3ffffdc0 end: 3fffffc0 offset: 01a0
3fffff60: 0601a8c0 00ffffff 0101a8c0 402015a8
3fffff70: 00000000 3ffee6e4 3ffee720 4020159c
3fffff80: 402072f8 0601a8c0 00000000 feefeffe
3fffff90: 3fffdad0 00000000 3ffee658 402010c1
3fffffa0: feefeffe feefeffe 3ffee798 40204090
3fffffb0: feefeffe feefeffe 3ffe85d8 40100b91
<<<stack<<<
--------------- CUT HERE FOR EXCEPTION DECODER ---------------

I used to connect my NodeMCU via MQTT back then at January 2021 using said tutorial above and succeed, i don’t know why all of sudden it can’t work anymore. Any help or suggestion is appreciated!

Hello @fio97 , for us and our community to be able to help you, can you please:

1. Make sure that you’re using the appropriate MQTT broker URL. For your reference:

  • If you have an Industrial (trial or licensed) or STEM account, the URL is industrial.api.ubidots.com

2. Can you please share the configuration of the following parameters in your code:

  • MQTT broker
  • Port
  • Device
  • Token (please make sure to only show the last 4 characters of your token to avoid exposed your Ubidots credentials)

Lastly, before we or our community can provide any inputs, check out our

Cellular Pre-flight checklist

to make sure you’re device is already connected to the Internet:

1. Is my device connected to the Internet?

This can be as simple as putting your SIM card in a phone and checking if it has data coverage. Then, do the same with your device and try to reach the outside world with a corresponding AT command.

2. Can you Publish or Subscribe via MQTT?

To check this, simply publish or subscribe to an external site and make sure your hardware is working correctly.

I’ll be attentive to your results.

–Isabel