Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after several days on RaspberryPi #40

Open
afourney opened this issue Jan 10, 2025 · 1 comment
Open

Error after several days on RaspberryPi #40

afourney opened this issue Jan 10, 2025 · 1 comment

Comments

@afourney
Copy link
Owner

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.

@afourney
Copy link
Owner Author

Seems related: TheCommsChannel/TC2-BBS-mesh#24 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant