MQTT Gateway Disconnects from Broker
-
I'm having a problem with my MQTT gateway, it keeps connecting and disconnecting from my MQTT broker. This problem is solved when I restart the mosquitto server, only to come back again some time later...
This is my MQTT topics
mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/100/0/1/0/1 42.0 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/100/0/1/0/1 42.0 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/100/0/1/0/1 41.0 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/100/1/1/0/0 19.0 mygateway1-out/100/0/1/0/1 42.0 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/100/0/1/0/1 41.0 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/100/0/1/0/1 42.0 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/100/0/1/0/1 41.0 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/100/0/1/0/1 42.0 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/100/0/1/0/1 41.0 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/100/0/1/0/1 42.0 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/100/1/1/0/0 19.0 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/100/0/1/0/1 42.0 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/100/1/1/0/0 19.0 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/100/0/1/0/1 42.0 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/100/1/1/0/0 19.0 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/0/255/0/0/18 2.1.1 mygateway1-out/100/0/1/0/1 41.0 mygateway1-out/0/255/0/0/18 2.1.1
This output is only from more or less 5 min, At this time the service is unusable. I have to restart it to regain control.
Thank You
-
@soloam what type of gateway is this? (esp8266, wiznet, etc). How is it powered (most common problem is restarts due to insufficient power). What does the gateway debug log say?
-
I'm trying to get a Log to show, but when I unplug the GW to plug it to the pc to get the serial console, I lose the error.
This is a Arduino Mini powerd by a mobile phone charger with a W5100.
Thank You
-
@soloam you can connect the ftdi and the charger at the same time. Just skip connecting Vcc from the ftdi.
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 2 days ago -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
NODs stop responding, but ping works.
Troubleshooting • 22 days ago • Marcin 22 days ago