Erreur récurrente hkControl

Bonjour,

j’ai très fréquemment cette erreur sur le démon hkControl:


Informations Jeedom

Core : 4.4.19 (master)
DNS Jeedom : non

Plugin : Homekit Network Devices Control
Version : 2024-10-31 14:15:48 (stable)
Statut Démon : Démarré - (2025-03-15 01:10:23)

Informations complémentaires

== Jeedom 4.4.19 sur Debian GNU/Linux 11 (bullseye)/amd64/x86_64/64bits aka 'diy' avec nodeJS v20.19.0 et jsonrpc:enable et hkControl (stable) 2024-10-31 14:15:48 (avant:stable/2024-10-09 17:40:43)

Citation
Problème de communication avec le démon à la demande http://192.168.69.22:29417/setAccessories?id=D1%3A4A%3AEF%3A2F%3A0C%3A1A&aid=1&iid=12&val=0 Exception : Exception: Echec de la requête HTTP : http://192.168.69.22:29417/setAccessories?id=D1%3A4A%3AEF%3A2F%3A0C%3A1A&aid=1&iid=12&val=0 cURL error : Operation timed out after 90001 milliseconds with 0 bytes received in /var/www/html/core/com/http.com.php:142 Stack trace: #0 /var/www/html/plugins/hkControl/core/class/hkControl.class.php(643): com_http->exec() #1 /var/www/html/plugins/hkControl/core/class/hkControl.class.php(1319): hkControl::hkExecute() #2 /var/www/html/core/class/cmd.class.php(1315): hkControlCmd->execute() #3 /var/www/html/core/class/scenarioExpression.class.php(1964): cmd->execCmd() #4 /var/www/html/core/class/scenarioExpression.class.php(1383): scenarioExpression->execute() #5 /var/www/html/core/class/cmd.class.php(1173): scenarioExpression::createAndExec() #6 /var/www/html/core/class/cmd.class.php(1190): cmd->pre_postExecCmd() #7 /var/www/html/core/class/cmd.class.php(1320): cmd->postExecCmd() #8 /var/www/html/core/class/scenarioExpression.class.php(1964): cmd->execCmd() #9 /var/www/html/core/class/scenarioSubElement.class.php(74): scenarioExpression->execute() #10 /var/www/html/core/class/scenarioElement.class.php(186): scenarioSubElement->execute() #11 /var/www/html/core/class/scenario.class.php(949): scenarioElement->execute() #12 /var/www/html/core/php/jeeScenario.php(50): scenario->execute() #13 {main}

Si je regarde l’état des ports du démon je vois :

Citation
netstat -a | grep 29417
tcp6 7 0 [::]:29417 [::]:* LISTEN
tcp6 142 0 monhost.mondomain.com:29417 monhost.mondomain.com:34046 CLOSE_WAIT
tcp6 144 0 monhost.mondomain.com:29417 monhost.mondomain.com:58890 CLOSE_WAIT
tcp6 142 0 monhost.mondomain.com:29417 monhost.mondomain.com:59336 CLOSE_WAIT
tcp6 144 0 monhost.mondomain.com:29417 monhost.mondomain.com:58898 CLOSE_WAIT
tcp6 142 0 monhost.mondomain.com:29417 monhost.mondomain.com:47148 CLOSE_WAIT
tcp6 142 0 monhost.mondomain.com:29417 monhost.mondomain.com:59328 CLOSE_WAIT
tcp6 142 0 monhost.mondomain.com:29417 monhost.mondomain.com:34044 CLOSE_WAIT

Le démon hkControl et jeedom sont sur le même serveur, il n’y a donc pas de problème réseau.
Si je kill le démon et que je le relance, cela va fonctionner pendant quelques heures puis je vais de nouveau avoir ces erreurs?

Avez-vous une idée?

Merci

Bonjour, fournissez tous les logs dont le log démon puisque c’est lui qui ne répond pas…

1 « J'aime »

Bonjour Nebz,

Je venais de le relancer je vais donc attendre que le problème se reproduise pour fournir les logs.

Merci pour ta réponse rapide

Bonjour Nebz,

je t’envoie les logs en MP.

Très bonne journée.

Alain

Bonsoir,
le prçblème venait d’un device non supporté offciellement. Depuis le désappairage plus de problème.

Merci à Nebz pour son support rapide et efficace.

1 « J'aime »

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