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 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 10 days ago • bocalexandru 9 days ago -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 27 days ago -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter a day ago