I have 5 ESP32 boards using adafruit IO, most publish values to feeds and one subscribes and publishes. When I got up this morning on the dasdboard I see this message in red that updates every few seconds:
MQTT ERROR, disconnected at 2021/04/02 6:54:34AM.Connection refused, retrying in 3 minutes 0 seconds. Visit the MQTT troubleshooting guide for information about MQTT errors.
I clicked on the link for the troubleshooting guide but did not find anything that would help see which device is having the problem. I went to the monitor page under profile but do not see anymore details there. How can I find which device is causing the problem ?
thanks
MQTT ERROR, Connection refused
Moderators: adafruit_support_bill, adafruit
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
- brubell
- Learn User Page
- Posts: 2010
- Joined: Fri Jul 17, 2015 10:33 pm
Re: MQTT ERROR, Connection refused
You could leave the monitor page open overnight or open a USB-serial monitor on the boards to see if it's stalling connecting to Adafruit IO, or disconnected.I clicked on the link for the troubleshooting guide but did not find anything that would help see which device is having the problem. I went to the monitor page under profile but do not see anymore details there. How can I find which device is causing the problem ?
- tix5000
- Posts: 3
- Joined: Sat Apr 03, 2021 8:30 am
Re: MQTT ERROR, Connection refused
Having the same issue, ESP8266 boards, mostly publishing values. The setup has been working for months now, then yesterday, everything stopped working and getting the same MQTT Error as OP.
- brubell
- Learn User Page
- Posts: 2010
- Joined: Fri Jul 17, 2015 10:33 pm
Re: MQTT ERROR, Connection refused
Have you tried resetting the boards since? Are you getting the same error?tix5000 wrote:Having the same issue, ESP8266 boards, mostly publishing values. The setup has been working for months now, then yesterday, everything stopped working and getting the same MQTT Error as OP.
- tix5000
- Posts: 3
- Joined: Sat Apr 03, 2021 8:30 am
Re: MQTT ERROR, Connection refused
Yes, restarted all the boards. The error is seen when I log into my adafruit.io account.
The commands are issued from IFTTT into AdafruitIO. I see that the commands get added onto my feed, but it would appear none of the boards are able to read that information anymore.
The commands are issued from IFTTT into AdafruitIO. I see that the commands get added onto my feed, but it would appear none of the boards are able to read that information anymore.
- tix5000
- Posts: 3
- Joined: Sat Apr 03, 2021 8:30 am
Re: MQTT ERROR, Connection refused
Whatever was changed in the past 24 hours, everything started to work again.
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.