I am using Moxa gateways as a host of my Node-red program that is connected and communicating with smart sensors via MQTT Protocol but I have noticed that my gateways keep connecting and disconnecting every 20 minutes or so which is causing some gaps in the data.
Thanks so much for that information. Looks like you aren’t running into a rate limit issue.
Is there anything in your device log that would indicate why the connection is closing? I would also take a look at your gateway’s connection log to see if there is any more information there.