I am a new user with 3 days experience with TheengsGateway. I was really pleased at how easy it was to set up and get going. I spent some time getting it going with Node-Red, pretty straight forward. (Using MQTT Explorer reinforced how good this software is.
I run the latest version on a Pi4 in python virtual environment.
However, I started my computer, and the Pi4, this morning and my node red mqtt nodes weren’t connecting. I checked the status of the gateway and it had crashed.
sock = self._create_socket_connection()
Oct 12 13:29:38 pi4 python3[589]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 12 13:29:38 pi4 python3[589]: File "/home/gary/theengs/lib/python3.11/site-packages/paho/mqtt/client.py", line 46>
Oct 12 13:29:38 pi4 python3[589]: return socket.create_connection(addr, timeout=self._connect_timeout, source_addre>
Oct 12 13:29:38 pi4 python3[589]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^>
Oct 12 13:29:38 pi4 python3[589]: File "/usr/lib/python3.11/socket.py", line 851, in create_connection
Oct 12 13:29:38 pi4 python3[589]: raise exceptions[0]
Oct 12 13:29:38 pi4 python3[589]: File "/usr/lib/python3.11/socket.py", line 836, in create_connection
Oct 12 13:29:38 pi4 python3[589]: sock.connect(sa)
Oct 12 13:29:38 pi4 python3[589]: OSError: [Errno 101] Network is unreachable
Ironically, I checked the status over an SSH connection so I was surprised to see the ‘network unreachable’ message. I had changed nothing on the pi4 apart from powering down overnight and restarting the following day.
Can anyone point me in the right direction to solve this?
thanks
Gary