Skip to content

Error after several days on RaspberryPi #40

@afourney

Description

@afourney

While stable for a few weeks, the last few days have seen my node get stuck with the following error:

[2025-01-09 20:46:42,056] ERROR:aprstastic:Traceback (most recent call last):
File "/home/afourney/gateway/aprstastic/src/aprstastic/_gateway.py", line 230, in run
self._process_meshtastic_packet(mesh_packet)
File "/home/afourney/gateway/aprstastic/src/aprstastic/_gateway.py", line 330, in _process_meshtastic_packet
self._send_mesh_message(
File "/home/afourney/gateway/aprstastic/src/aprstastic/_gateway.py", line 640, in _send_mesh_message
self._interface.sendText(
File "/home/afourney/gateway/.venv/lib/python3.12/site-packages/meshtastic/mesh_interface.py", line 378, in sendText
return self.sendData(
^^^^^^^^^^^^^^
File "/home/afourney/gateway/.venv/lib/python3.12/site-packages/meshtastic/mesh_interface.py", line 456, in sendData
p = self._sendPacket(meshPacket, destinationId, wantAck=wantAck, hopLimit=hopLimit, pkiEncrypted=pkiEncrypted, publicKey=publicKey)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/afourney/gateway/.venv/lib/python3.12/site-packages/meshtastic/mesh_interface.py", line 725, in _sendPacket
self._waitConnected()
File "/home/afourney/gateway/.venv/lib/python3.12/site-packages/meshtastic/mesh_interface.py", line 861, in _waitConnected
raise MeshInterface.MeshInterfaceError(
meshtastic.mesh_interface.MeshInterface.MeshInterfaceError: Timed out waiting for connection completion

Ideally, we would just catch it and restart.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions