VWsFriend icon indicating copy to clipboard operation
VWsFriend copied to clipboard

mqttWorker / expection occur when handling "/pictures/car" topic

Open kotipalvelu opened this issue 3 weeks ago • 1 comments

mqttWorker thread generates exception:

``vwsfriend-1 | New topic: weconnect/0/vehicles/WVGZZZE2ZNPxxxxxx/controls/windowheating_writetopic (writeable) vwsfriend-1 | New topic: weconnect/0/vehicles/WVGZZZE2ZNPxxxxxx/controls/wakeup_writetopic (writeable) vwsfriend-1 | New topic: weconnect/0/vehicles/WVGZZZE2ZNPxxxxxx/pictures/car vwsfriend-1 | Exception in thread Thread-1 (mqttWorker): vwsfriend-1 | Traceback (most recent call last): vwsfriend-1 | File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner vwsfriend-1 | self.run() vwsfriend-1 | File "/usr/lib/python3.12/threading.py", line 1012, in run vwsfriend-1 | self._target(*self._args, **self._kwargs) vwsfriend-1 | File "/opt/venv/lib/python3.12/site-packages/vwsfriend/vwsfriend_base.py", line 464, in mqttWorker vwsfriend-1 | mqttCLient.connect(args.mqttbroker, args.mqttport, args.mqttkeepalive) vwsfriend-1 | File "/opt/venv/lib/python3.12/site-packages/paho/mqtt/client.py", line 1435, in connect vwsfriend-1 | return self.reconnect() vwsfriend-1 | ^^^^^^^^^^^^^^^^ vwsfriend-1 | File "/opt/venv/lib/python3.12/site-packages/paho/mqtt/client.py", line 1598, in reconnect vwsfriend-1 | self._sock = self._create_socket() vwsfriend-1 | ^^^^^^^^^^^^^^^^^^^^^ vwsfriend-1 | File "/opt/venv/lib/python3.12/site-packages/paho/mqtt/client.py", line 4609, in _create_socket vwsfriend-1 | sock = self._create_socket_connection() vwsfriend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ vwsfriend-1 | File "/opt/venv/lib/python3.12/site-packages/paho/mqtt/client.py", line 4640, in _create_socket_connection vwsfriend-1 | return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source) vwsfriend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ vwsfriend-1 | File "/usr/lib/python3.12/socket.py", line 865, in create_connection vwsfriend-1 | raise exceptions[0] vwsfriend-1 | File "/usr/lib/python3.12/socket.py", line 850, in create_connection vwsfriend-1 | sock.connect(sa) vwsfriend-1 | OSError: [Errno 113] No route to host vwsfriend-1 | New topic: weconnect/0/vehicles/WVGZZZE2ZNPxxxxxx/pictures/status vwsfriend-1 | New topic: weconnect/0/vehicles/WVGZZZE2ZNPxxxxxx/pictures/statusWithBadge

kotipalvelu avatar Dec 03 '25 14:12 kotipalvelu

Did it ever work?

The error says "vwsfriend-1 | OSError: [Errno 113] No route to host", so at this moment your MQTT broker seems to be gone.

ualex73 avatar Dec 05 '25 18:12 ualex73