Bonjour,
Depuis le 18 mars 2024 à 19h45 exactement, aucun de mes deux terminaux n’arrive à communiquer sa position.
Ma configuration :
Jeedom Core : 4.3.23
Version JC : 1.8.0.1 stable
DNS Jeedom : non
Statut Démon : Démarré - (2024-03-23 11:05:08)
Equipements :
Flo : v1.8.0 stable sur android [os : 28] (ws) - PU
Titou : v1.8.0 stable sur android [os : 28] (ws) - PU
Les seuls sujets trouvés ici concernent le renouvellement du certificat, mais ça ne peut pas être la source de mon problème car mon certificat a été renouvelé le 2 février 2024 et tout a bien fonctionné jusqu’au 18 mars 2024.
https://community.jeedom.com/t/plus-de-geoloc-sur-aucun-de-mes-terminaux/80358
https://community.jeedom.com/t/geolocalisation-ne-fonctionne-plus/94902
Mon certificat fonctionne donc sans problème depuis plus d’un mois et demi, et de toute façon lors de mes renouvellements du certificat, le port 80 est toujours ouvert (temporairement) sur tous mes équipements réseau qui mènent à mon Jeedom.
Aucun autre modification/mise à jour n’a été faite ni côté jeedom, ni côté JC, ni sur les mobiles, ni sur le NAS qui héberge mon certificat et le reverse proxy qui renvoie mon fqdn public vers mon jeedom.
Le log http.error de jeedom ne trace rien de particulier.
Le log JeedomConnect ne trace rien sur le sujet (tous les events WS passent bien), mais lorsque je désactive le tracking dans les paramètres de l’application mobile, je n’ai aucune trace dans le log.
Seule la désactivation/réactivation du geofencing génère une trace dans le log :
[2024-03-24 17:25:34][DEBUG] : [WS] Request Received {"method": "GET_GEOFENCES", "jsonrpc": "2.0", "id": 2414, "params": {"apiKey": "***", "connexionFrom": "WS"}}
[2024-03-24 17:25:34][DEBUG] : [WS] Send GET_GEOFENCES -> {"type":"SET_GEOFENCES","payload":{"geofences":[{"identifier":"***","extras":{"name":"Work"},"radius":200,"latitude":***,"longitude":***,"notifyOnEntry":true,"notifyOnExit":true},{"identifier":"***","extras":{"name":"Home"},"radius":200,"latitude":***,"longitude":***,"notifyOnEntry":true,"notifyOnExit":true}]}}
[2024-03-24 17:28:21][DEBUG] : [WS] Request Received {"method": "GET_GEOFENCES", "jsonrpc": "2.0", "id": 7563, "params": {"apiKey": "***", "connexionFrom": "WS"}}
[2024-03-24 17:28:21][DEBUG] : [WS] Send GET_GEOFENCES -> {"type":"SET_GEOFENCES","payload":{"geofences":[{"identifier":"***","extras":{"name":"Work"},"radius":200,"latitude":***,"longitude":***,"notifyOnEntry":true,"notifyOnExit":true},{"identifier":"***","extras":{"name":"Home"},"radius":200,"latitude":***,"longitude":***,"notifyOnEntry":true,"notifyOnExit":true}]}}
Par contre, je constate dans le log (avant passage en mode debug ce jour) que j’avais régulièrement ce type d’erreur :
[2024-03-02 11:13:00][ERROR] : Error with 'GEOLOC' method [API] - [MySQL] Error code : 40001 (1213). Deadlock found when trying to get lock; try restarting transaction : REPLACE INTO history SET cmd_id=:cmd_id, `datetime`=:datetime, value=:value
[2024-03-02 11:13:56][ERROR] : Error with 'GEOLOC' method [API] - [MySQL] Error code : 40001 (1213). Deadlock found when trying to get lock; try restarting transaction : REPLACE INTO history SET cmd_id=:cmd_id, `datetime`=:datetime, value=:value
[2024-03-02 11:14:12][ERROR] : Error with 'GEOLOC' method [API] - [MySQL] Error code : 40001 (1213). Deadlock found when trying to get lock; try restarting transaction : REPLACE INTO history SET cmd_id=:cmd_id, `datetime`=:datetime, value=:value
[2024-03-02 13:22:58][ERROR] : Error with 'GEOLOC' method [API] - [MySQL] Error code : 40001 (1213). Deadlock found when trying to get lock; try restarting transaction : REPLACE INTO history SET cmd_id=:cmd_id, `datetime`=:datetime, value=:value
[2024-03-02 13:32:15][ERROR] : Error with 'GEOLOC' method [API] - [MySQL] Error code : 40001 (1213). Deadlock found when trying to get lock; try restarting transaction : REPLACE INTO history SET cmd_id=:cmd_id, `datetime`=:datetime, value=:value
[2024-03-02 13:45:46][ERROR] : Error with 'GEOLOC' method [API] - [MySQL] Error code : 40001 (1213). Deadlock found when trying to get lock; try restarting transaction : REPLACE INTO history SET cmd_id=:cmd_id, `datetime`=:datetime, value=:value
[2024-03-02 16:14:02][ERROR] : Error with 'GEOLOC' method [API] - [MySQL] Error code : 40001 (1213). Deadlock found when trying to get lock; try restarting transaction : REPLACE INTO history SET cmd_id=:cmd_id, `datetime`=:datetime, value=:value
[2024-03-02 17:11:22][ERROR] : Error with 'GEOLOC' method [API] - [MySQL] Error code : 40001 (1213). Deadlock found when trying to get lock; try restarting transaction : REPLACE INTO history SET cmd_id=:cmd_id, `datetime`=:datetime, value=:value
[2024-03-02 17:12:11][ERROR] : Error with 'GEOLOC' method [API] - [MySQL] Error code : 40001 (1213). Deadlock found when trying to get lock; try restarting transaction : REPLACE INTO history SET cmd_id=:cmd_id, `datetime`=:datetime, value=:value
[2024-03-02 17:12:39][ERROR] : Error with 'GEOLOC' method [API] - [MySQL] Error code : 40001 (1213). Deadlock found when trying to get lock; try restarting transaction : REPLACE INTO history SET cmd_id=:cmd_id, `datetime`=:datetime, value=:value
[2024-03-10 12:03:24][ERROR] : Error with 'GEOLOC' method [API] - [MySQL] Error code : 40001 (1213). Deadlock found when trying to get lock; try restarting transaction : REPLACE INTO history SET cmd_id=:cmd_id, `datetime`=:datetime, value=:value
[2024-03-15 07:51:01][ERROR] : Error with 'GEOLOC' method [API] - [MySQL] Error code : 40001 (1213). Deadlock found when trying to get lock; try restarting transaction : REPLACE INTO history SET cmd_id=:cmd_id, `datetime`=:datetime, value=:value
[2024-03-15 13:41:30][ERROR] : Error with 'GEOLOC' method [API] - [MySQL] Error code : 40001 (1213). Deadlock found when trying to get lock; try restarting transaction : REPLACE INTO history SET cmd_id=:cmd_id, `datetime`=:datetime, value=:value
[2024-03-15 14:21:25][ERROR] : Error with 'GEOLOC' method [API] - [MySQL] Error code : 40001 (1213). Deadlock found when trying to get lock; try restarting transaction : REPLACE INTO history SET cmd_id=:cmd_id, `datetime`=:datetime, value=:value
Pas de log plus ancien, donc impossible de savoir depuis quand, mais en tout cas je n’ai plus cette erreur depuis le 15/03/2024 alors que la geoloc fonctionnait toujours jusqu’au 18/03/2024 à 19h45.
Dernières communications des commandes Position des deux mobiles :
Et pour preuve, l’historique de la commande Distance des deux mobiles sur la journée du 18/03/2024 (jusqu’à 19h00 à priori, après plus rien pour l’historique de Distance) :
Là je ne sais plus quelles pistes explorer, donc merci d’avance pour vos lumières !
Thierry