If you are asking a question, please follow this template:
- My goal is: remove many severity errors on devices log at Google Cloud Log
- My actions are: performed steps successfully as describe using Mongoose OS + Google IoT Core tutorial.
- The result I see is: every hour the device disconnect and connect again after 4 or 5 seconds, and generate an error.
- My expectation & question is: identify the configuration to avoid device error and disconnect/connect process.
As you can see in the image below, every hour the device disconnect and connect again after 4 or 5 seconds. It is generating a bunch of log errors that I would like to prevent. Also, when the device disconnect for 5 seconds, it will lose command if not caught properly.
The error message is “The connection broke or was closed by the client.”
Looking around, I think it may be the heartbeat parameter.