reconnections error #97

Closed
opened 2026-10-05 01:22:10 +02:00 by adam · 3 comments
Owner

Not sure if it is means something but from time to time bot not just reports about reconnection, but shows quite big error:

2025-10-25 14:47:03,975 | ERROR | System: communicating with interface1, trying to reconnect: Timed out waiting for an ack
nowledgment
Unexpected OSError, terminating meshtastic reader... [Errno 104] Connection reset by peer
2025-10-25 14:47:07,992 | WARNING | System: Abrupt Disconnection of Interface detected
Unexpected error in deferred execution <class 'BrokenPipeError'>
Traceback (most recent call last):
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/util.py", line 309, in _run
o()
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 1133, in
lambda: pub.sendMessage("meshtastic.connection.lost", interface=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/publisher.py", line 216, in sendMessage
topicObj.publish(**msgData)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 452, in publish
self.__sendMessage(msgData, topicObj, msgDataSubset)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 482, in __sendMessage
listener(data, self, allData)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/listener.py", line 237, in call
cb(**kwargs)
File "/home/service5/meshing-around/modules/system.py", line 1220, in onDisconnect
interface.close()
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/tcp_interface.py", line 78, in close
super().close()
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/stream_interface.py", line 126, in close
MeshInterface.close(self)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 147, in close
self._sendDisconnect()
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 1190, in _sendDisconnect
self._sendToRadio(m)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 1215, in _sendToRadio
self._sendToRadioImpl(toRadio)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/stream_interface.py", line 121, in _sendToRadioImpl
self._writeBytes(header + b)
File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/tcp_interface.py", line 92, in _writeBytes
self.socket.send(b)
BrokenPipeError: [Errno 32] Broken pipe

Not sure if it is means something but from time to time bot not just reports about reconnection, but shows quite big error: 2025-10-25 14:47:03,975 | ERROR | System: communicating with interface1, trying to reconnect: Timed out waiting for an ack nowledgment Unexpected OSError, terminating meshtastic reader... [Errno 104] Connection reset by peer 2025-10-25 14:47:07,992 | WARNING | System: Abrupt Disconnection of Interface detected Unexpected error in deferred execution <class 'BrokenPipeError'> Traceback (most recent call last): File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/util.py", line 309, in _run o() File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 1133, in <lambda> lambda: pub.sendMessage("meshtastic.connection.lost", interface=self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/publisher.py", line 216, in sendMessage topicObj.publish(**msgData) File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 452, in publish self.__sendMessage(msgData, topicObj, msgDataSubset) File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/topicobj.py", line 482, in __sendMessage listener(data, self, allData) File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/pubsub/core/listener.py", line 237, in __call__ cb(**kwargs) File "/home/service5/meshing-around/modules/system.py", line 1220, in onDisconnect interface.close() File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/tcp_interface.py", line 78, in close super().close() File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/stream_interface.py", line 126, in close MeshInterface.close(self) File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 147, in close self._sendDisconnect() File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 1190, in _sendDisconnect self._sendToRadio(m) File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/mesh_interface.py", line 1215, in _sendToRadio self._sendToRadioImpl(toRadio) File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/stream_interface.py", line 121, in _sendToRadioImpl self._writeBytes(header + b) File "/home/service5/meshing-around/venv/lib/python3.11/site-packages/meshtastic/tcp_interface.py", line 92, in _writeBytes self.socket.send(b) BrokenPipeError: [Errno 32] Broken pipe <!-- github-sync-id:3552378515 -->
adam closed this issue 2026-10-05 01:22:10 +02:00
Author
Owner

Did it reconnect?

Did it reconnect? <!-- github-comment-id:3446654262 -->
Author
Owner

Did it reconnect?

Yes it does.

> Did it reconnect? Yes it does. <!-- github-comment-id:3446720357 -->
Author
Owner

That's the good thing!

I see it happen on localhost software sometimes!

Not on serial normally.

That's the good thing! I see it happen on localhost software sometimes! Not on serial normally. <!-- github-comment-id:3446724045 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/meshing-around#97