I noticed that my mosquitto broker looses connection every day at 06:25… every day.
Went back in the logs, but I only keep the last four days, so I do not know when this started.
I have owntracks in stalled, and ot-recorder n the same rPi… but do not see, whether this at all related.
2017-02-20 06:25:28.468 [ERROR] [o.i.t.m.i.MqttBrokerConnection] - MQTT connection to broker was lost
org.eclipse.paho.client.mqttv3.MqttException: Connection lost
at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:138) [mqtt-client-0.4.0.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65]
Caused by: java.io.EOFException: null
at java.io.DataInputStream.readByte(DataInputStream.java:267) ~[na:1.8.0_65]
at org.eclipse.paho.client.mqttv3.internal.wire.MqttInputStream.readMqttWireMessage(MqttInputStream.java:56) ~[na:na]
at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:100) [mqtt-client-0.4.0.jar:na]
... 1 common frames omitted
2017-02-20 06:25:28.476 [ERROR] [o.i.t.m.i.MqttBrokerConnection] - MQTT connection to 'mymosquitto' was lost: Connection lost : ReasonCode 32109 : Cause : null
2017-02-20 06:25:28.478 [INFO ] [o.i.t.m.i.MqttBrokerConnection] - Starting connection helper to periodically try restore connection to broker 'mymosquitto'
2017-02-20 06:25:38.480 [INFO ] [o.i.t.m.i.MqttBrokerConnection] - Starting MQTT broker connection 'mymosquitto'
Any ideas on how to get to the bottom of this?
I am not too worried, but can imagine, since I heavily rely on MQTT messages, that I may miss some messages, while mosquitto reconnects – which seems to take only 12ms…
Should I be worried at all? May not in practice, but wanting to run clean and well behaving systems, I do wonder.