Hi,
We have two Raspberry Pi 3b+ sitting in the same location, connected to the same switch by ethernet cable.
One of the two devices keeps loosing connection. Sometimes multiple times a day.
I can’t seem to find any hint to why. The program stops running, but it looks like the connection to the cloud is intact on some of the incidents.
If I look thrugh the log (journalctl -f -n 1000 -a), I stumbled accross this:
Dec 22 11:00:18 88a4885 NetworkManager[1726]: <info> [1703242818.3271] manager: (supervisor0): new Bridge device (/org/freedesktop/NetworkManager/Devices/7)
Dec 22 11:00:18 88a4885 avahi-daemon[1745]: Joining mDNS multicast group on interface supervisor0.IPv4 with address 10.114.104.1.
Dec 22 11:00:18 88a4885 avahi-daemon[1745]: New relevant interface supervisor0.IPv4 for mDNS.
Dec 22 11:00:18 88a4885 avahi-daemon[1745]: Registering new address record for 10.114.104.1 on supervisor0.IPv4.
Dec 22 11:00:18 88a4885 NetworkManager[1726]: <warn> [1703242818.6492] device (supervisor0): failed to read bridge setting 'vlan_protocol'
Dec 22 11:00:18 88a4885 NetworkManager[1726]: <warn> [1703242818.6533] device (supervisor0): failed to read bridge setting 'vlan_stats_enabled'
Dec 22 11:00:18 88a4885 NetworkManager[1726]: <info> [1703242818.6699] device (supervisor0): state change: unmanaged -> unavailable (reason 'connection-assumed', sys-iface-state: 'external')
Dec 22 11:00:18 88a4885 NetworkManager[1726]: <info> [1703242818.6874] device (supervisor0): state change: unavailable -> disconnected (reason 'connection-assumed', sys-iface-state: 'external')
Dec 22 11:00:18 88a4885 NetworkManager[1726]: <info> [1703242818.7061] device (supervisor0): Activation: starting connection 'supervisor0' (79b42fee-f9db-45af-b1b6-fefcfd88eff4)
Dec 22 11:00:18 88a4885 NetworkManager[1726]: <info> [1703242818.7216] manager: (balena0): new Bridge device (/org/freedesktop/NetworkManager/Devices/8)
Dec 22 11:00:18 88a4885 NetworkManager[1726]: <info> [1703242818.7417] device (supervisor0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'external')
Dec 22 11:00:18 88a4885 NetworkManager[1726]: <info> [1703242818.7554] device (supervisor0): state change: prepare -> config (reason 'none', sys-iface-state: 'external')
Dec 22 11:00:18 88a4885 NetworkManager[1726]: <info> [1703242818.7633] device (supervisor0): state change: config -> ip-config (reason 'none', sys-iface-state: 'external')
Dec 22 11:00:18 88a4885 NetworkManager[1726]: <info> [1703242818.7786] device (supervisor0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'external')
Dec 22 11:21:15 88a4885 timesync-https.sh[1762]: [timesync-https.sh][INFO] Time synchronised via HTTPS.
Dec 22 11:21:15 88a4885 NetworkManager[1726]: <info> [1703244075.0314] device (supervisor0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'external')
Dec 22 11:21:15 88a4885 NetworkManager[1726]: <info> [1703244075.0330] device (supervisor0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'external')
Dec 22 11:21:15 88a4885 NetworkManager[1726]: <info> [1703244075.0399] device (supervisor0): Activation: successful, device activated.
Dec 22 11:21:15 88a4885 timesync-https.sh[1762]: [timesync-https.sh][INFO] Old time: Fri Dec 22 11:00:18 UTC 2023
Dec 22 11:21:15 88a4885 avahi-daemon[1745]: Joining mDNS multicast group on interface balena0.IPv4 with address 10.114.101.1.
Dec 22 11:21:15 88a4885 avahi-daemon[1745]: New relevant interface balena0.IPv4 for mDNS.
Dec 22 11:21:15 88a4885 avahi-daemon[1745]: Registering new address record for 10.114.101.1 on balena0.IPv4.
Dec 22 11:21:15 88a4885 NetworkManager[1726]: <info> [1703244075.2508] manager: (br-ca338bde8816): new Bridge device (/org/freedesktop/NetworkManager/Devices/9)
Dec 22 11:21:15 88a4885 timesync-https.sh[1762]: [timesync-https.sh][INFO] New time: Fri Dec 22 11:21:15 UTC 2023
Dec 22 11:21:15 88a4885 timesync-https.sh[2099]: hwclock: can't open '/dev/misc/rtc': No such file or directory
Dec 22 11:21:15 88a4885 bluetoothd[1864]: Path / reserved for Adv Monitor app :1.15
Dec 22 11:21:15 88a4885 bthelper[2087]: [CHG] Controller B8:27:EB:9A:86:DC PowerState: on-disabling
Dec 22 11:21:15 88a4885 bthelper[2087]: Changing power off succeeded
Dec 22 11:21:15 88a4885 bluetoothd[1864]: Adv Monitor app :1.15 disconnected from D-Bus
As you can see it stops responding at around 11:00:18, and then gets rebooted at 11:21:15.
Any ideer to where I need to look?
The other device runs without any problem, with the same code…