Démon Harmony Hub qui ne se lance plus

Bonjour,

Je viens de constater que le Démon Harmony Hub ne se lance plus.
Je n’ai pas installé de nouveaux plugin récemment. Juste fait les mises à jour proposées par Jeedom et la mise à jour du système via la commande sudo apt full-upgrade.
Je n’utilise que des versions stables des plugins et de Jeedom.
Si vous avez une idée du souci, je vous en remercie :slight_smile:

Ecran Santé

Log harmonyhub

[2025-05-02 12:40:16] ERROR  : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2025-05-02 12:40:17] INFO  : Lancement démon
[2025-05-02 12:40:18] DEBUG  : test from daemon

Log harmonyhub_packages

Successfully uninstalled jeedomdaemon-1.2.9
Successfully installed aiohappyeyeballs-2.6.1 aiohttp-3.11.18 aiosignal-1.3.2 async-timeout-5.0.1 attrs-25.3.0 frozenlist-1.6.0 idna-3.10 jeedomdaemon-1.2.9 multidict-6.4.3 propcache-0.3.1 typing-extensions-4.13.2 yarl-1.20.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 6
+ sudo python3 -m pip install --force-reinstall --upgrade aioharmony
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting aioharmony
Downloading https://www.piwheels.org/simple/aioharmony/aioharmony-0.5.2-py3-none-any.whl (39 kB)
Collecting aiohttp>=3.11 (from aioharmony)
Using cached aiohttp-3.11.18-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (7.7 kB)
Collecting async-timeout>=4 (from aioharmony)
Using cached https://www.piwheels.org/simple/async-timeout/async_timeout-5.0.1-py3-none-any.whl (6.2 kB)
Collecting slixmpp>=1.8 (from aioharmony)
Downloading slixmpp-1.10.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (7.2 kB)
Collecting aiohappyeyeballs>=2.3.0 (from aiohttp>=3.11->aioharmony)
Using cached https://www.piwheels.org/simple/aiohappyeyeballs/aiohappyeyeballs-2.6.1-py3-none-any.whl (15 kB)
Collecting aiosignal>=1.1.2 (from aiohttp>=3.11->aioharmony)
Using cached https://www.piwheels.org/simple/aiosignal/aiosignal-1.3.2-py2.py3-none-any.whl (7.6 kB)
Collecting attrs>=17.3.0 (from aiohttp>=3.11->aioharmony)
Using cached https://www.piwheels.org/simple/attrs/attrs-25.3.0-py3-none-any.whl (63 kB)
Collecting frozenlist>=1.1.1 (from aiohttp>=3.11->aioharmony)
Using cached frozenlist-1.6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (16 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp>=3.11->aioharmony)
Using cached multidict-6.4.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (5.3 kB)
Collecting propcache>=0.2.0 (from aiohttp>=3.11->aioharmony)
Using cached propcache-0.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (10 kB)
Collecting yarl<2.0,>=1.17.0 (from aiohttp>=3.11->aioharmony)
Using cached yarl-1.20.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (72 kB)
Collecting typing-extensions>=4.1.0 (from multidict<7.0,>=4.5->aiohttp>=3.11->aioharmony)
Using cached typing_extensions-4.13.2-py3-none-any.whl.metadata (3.0 kB)
Collecting idna>=2.0 (from yarl<2.0,>=1.17.0->aiohttp>=3.11->aioharmony)
Using cached https://www.piwheels.org/simple/idna/idna-3.10-py3-none-any.whl (70 kB)
Collecting aiodns>=3.2.0 (from slixmpp>=1.8->aioharmony)
Downloading https://www.piwheels.org/simple/aiodns/aiodns-3.2.0-py3-none-any.whl (5.7 kB)
Collecting pyasn1>=0.6.1 (from slixmpp>=1.8->aioharmony)
Downloading https://www.piwheels.org/simple/pyasn1/pyasn1-0.6.1-py3-none-any.whl (83 kB)
Collecting pyasn1-modules>=0.4.1 (from slixmpp>=1.8->aioharmony)
Downloading https://www.piwheels.org/simple/pyasn1-modules/pyasn1_modules-0.4.2-py3-none-any.whl (181 kB)
Collecting pycares>=4.0.0 (from aiodns>=3.2.0->slixmpp>=1.8->aioharmony)
Downloading pycares-4.6.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (4.3 kB)
Collecting cffi>=1.5.0 (from pycares>=4.0.0->aiodns>=3.2.0->slixmpp>=1.8->aioharmony)
Downloading cffi-1.17.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.5.0->pycares>=4.0.0->aiodns>=3.2.0->slixmpp>=1.8->aioharmony)
Downloading https://www.piwheels.org/simple/pycparser/pycparser-2.22-py3-none-any.whl (117 kB)
Using cached aiohttp-3.11.18-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.6 MB)
Using cached multidict-6.4.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (217 kB)
Using cached yarl-1.20.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (332 kB)
Using cached frozenlist-1.6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (288 kB)
Using cached propcache-0.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (209 kB)
Downloading slixmpp-1.10.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (926 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 926.1/926.1 kB 17.1 MB/s eta 0:00:00
Downloading pycares-4.6.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (290 kB)
Downloading cffi-1.17.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (447 kB)
Using cached typing_extensions-4.13.2-py3-none-any.whl (45 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
WARNING: Error parsing dependencies of pyzmq: Invalid version: 'cpython'
Installing collected packages: typing-extensions, pycparser, pyasn1, propcache, idna, frozenlist, attrs, async-timeout, aiohappyeyeballs, pyasn1-modules, multidict, cffi, aiosignal, yarl, pycares, aiohttp, aiodns, slixmpp, aioharmony
Attempting uninstall: typing-extensions
Found existing installation: typing_extensions 4.13.2
Uninstalling typing_extensions-4.13.2:
Successfully uninstalled typing_extensions-4.13.2
Attempting uninstall: pycparser
Found existing installation: pycparser 2.22
Uninstalling pycparser-2.22:
Successfully uninstalled pycparser-2.22
Attempting uninstall: pyasn1
Found existing installation: pyasn1 0.6.1
Uninstalling pyasn1-0.6.1:
Successfully uninstalled pyasn1-0.6.1
Attempting uninstall: propcache
Found existing installation: propcache 0.3.1
Uninstalling propcache-0.3.1:
Successfully uninstalled propcache-0.3.1
Attempting uninstall: idna
Found existing installation: idna 3.10
Uninstalling idna-3.10:
Successfully uninstalled idna-3.10
Attempting uninstall: frozenlist
Found existing installation: frozenlist 1.6.0
Uninstalling frozenlist-1.6.0:
Successfully uninstalled frozenlist-1.6.0
Attempting uninstall: attrs
Found existing installation: attrs 25.3.0
Uninstalling attrs-25.3.0:
Successfully uninstalled attrs-25.3.0
Attempting uninstall: async-timeout
Found existing installation: async-timeout 5.0.1
Uninstalling async-timeout-5.0.1:
Successfully uninstalled async-timeout-5.0.1
Attempting uninstall: aiohappyeyeballs
Found existing installation: aiohappyeyeballs 2.6.1
Uninstalling aiohappyeyeballs-2.6.1:
Successfully uninstalled aiohappyeyeballs-2.6.1
Attempting uninstall: pyasn1-modules
Found existing installation: pyasn1_modules 0.4.2
Uninstalling pyasn1_modules-0.4.2:
Successfully uninstalled pyasn1_modules-0.4.2
Attempting uninstall: multidict
Found existing installation: multidict 6.4.3
Uninstalling multidict-6.4.3:
Successfully uninstalled multidict-6.4.3
Attempting uninstall: cffi
Found existing installation: cffi 1.17.1
Uninstalling cffi-1.17.1:
Successfully uninstalled cffi-1.17.1
Attempting uninstall: aiosignal
Found existing installation: aiosignal 1.3.2
Uninstalling aiosignal-1.3.2:
Successfully uninstalled aiosignal-1.3.2
Attempting uninstall: yarl
Found existing installation: yarl 1.20.0
Uninstalling yarl-1.20.0:
Successfully uninstalled yarl-1.20.0
Attempting uninstall: pycares
Found existing installation: pycares 4.6.1
Uninstalling pycares-4.6.1:
Successfully uninstalled pycares-4.6.1
Attempting uninstall: aiohttp
Found existing installation: aiohttp 3.11.18
Uninstalling aiohttp-3.11.18:
Successfully uninstalled aiohttp-3.11.18
Attempting uninstall: aiodns
Found existing installation: aiodns 3.2.0
Uninstalling aiodns-3.2.0:
Successfully uninstalled aiodns-3.2.0
Attempting uninstall: slixmpp
Found existing installation: slixmpp 1.10.0
Uninstalling slixmpp-1.10.0:
Successfully uninstalled slixmpp-1.10.0
Attempting uninstall: aioharmony
Found existing installation: aioharmony 0.5.2
Uninstalling aioharmony-0.5.2:
Successfully uninstalled aioharmony-0.5.2
Successfully installed aiodns-3.2.0 aiohappyeyeballs-2.6.1 aioharmony-0.5.2 aiohttp-3.11.18 aiosignal-1.3.2 async-timeout-5.0.1 attrs-25.3.0 cffi-1.17.1 frozenlist-1.6.0 idna-3.10 multidict-6.4.3 propcache-0.3.1 pyasn1-0.6.1 pyasn1-modules-0.4.2 pycares-4.6.1 pycparser-2.22 slixmpp-1.10.0 typing-extensions-4.13.2 yarl-1.20.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 7
+ sudo python3 -m pip install --force-reinstall --upgrade async-timeout==4.0.3
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting async-timeout==4.0.3
Downloading https://www.piwheels.org/simple/async-timeout/async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
WARNING: Error parsing dependencies of pyzmq: Invalid version: 'cpython'
Installing collected packages: async-timeout
Attempting uninstall: async-timeout
Found existing installation: async-timeout 5.0.1
Uninstalling async-timeout-5.0.1:
Successfully uninstalled async-timeout-5.0.1
Successfully installed async-timeout-4.0.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 8
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end harmonyhub
+ echo 9
+ rm /tmp/jeedom_install_in_progress_harmonyhub
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Log harmonyhub_daemon

[2025-05-02 12:40:19] DEBUG  : 192.168.1.139: Callback handler started
[2025-05-02 12:40:22] ERROR  : 192.168.1.139: Unable to determine if Websocket is available
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/aioharmony/harmonyclient.py", line 142, in _websocket_or_xmpp
_, _ = await asyncio.open_connection(
File "/usr/lib/python3.9/asyncio/streams.py", line 52, in open_connection
transport, _ = await loop.create_connection(
File "/usr/lib/python3.9/asyncio/base_events.py", line 1056, in create_connection
raise exceptions[0]
File "/usr/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection
sock = await self._connect_sock(
File "/usr/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
return await fut
File "/usr/lib/python3.9/asyncio/selector_events.py", line 537, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
OSError: [Errno 113] Connect call failed ('192.168.1.139', 8088)
[2025-05-02 12:40:22]WARNING : Exception occurred when calling on_start_cb: Unable to connect to HUB at: 192.168.1.139:8088
[2025-05-02 12:40:22] DEBUG  : 192.168.1.139: Received STOP for callback handler
[2025-05-02 12:40:22] DEBUG  : 192.168.1.139: Callback handler stopped.
[2025-05-02 12:40:22] INFO  : Listening cancelled
[2025-05-02 12:40:22] DEBUG  : 192.168.1.142: Received STOP for callback handler
[2025-05-02 12:40:22] DEBUG  : 192.168.1.142: Callback handler stopped.
[2025-05-02 12:40:22] DEBUG  : 192.168.1.142: Received STOP for listener
[2025-05-02 12:40:22] DEBUG  : 192.168.1.142: Listener stopped.
[2025-05-02 12:40:22] INFO  : Shutdown
[2025-05-02 12:40:22] DEBUG  : Removing PID file /tmp/jeedom/harmonyhub/daemon.pid
[2025-05-02 12:40:22] DEBUG  : Exit 0
[2025-05-02 12:40:22] ERROR  : Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7faf0f8400>
Exception ignored in: <function ClientResponse.__del__ at 0x7faf59f160>
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/aiohttp/client_reqrep.py", line 974, in __del__
File "/usr/local/lib/python3.9/dist-packages/aiohttp/connector.py", line 201, in release
File "/usr/local/lib/python3.9/dist-packages/aiohttp/connector.py", line 711, in _release
File "/usr/local/lib/python3.9/dist-packages/aiohttp/client_proto.py", line 70, in close
File "/usr/lib/python3.9/asyncio/selector_events.py", line 700, in close
File "/usr/lib/python3.9/asyncio/base_events.py", line 746, in call_soon
File "/usr/lib/python3.9/asyncio/base_events.py", line 510, in _check_closed
RuntimeError: Event loop is closed

Bo jour

Il faudrait ajouter l’étiquette plugin-harmonyhub au post.

1 « J'aime »

Bonjour,

La configuration semble incorrecte, l’ip n’est pas la bonne puisqu’il ne sait pas s’y connecter

1 « J'aime »

Merci bien c’était bien un de mes deux hub qui était débranché …
Donc le démon ne démarre pas si l’ensemble des hubs n’est pas disponible.

Merci pour l’analyse rapide.

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.