Probleme de connexion bien que le telephone s'attache à l application

Bonjour;

Actions effectuées:
Réinstallation application et plugin, vidage cache et donnée.
Regénaration clé API + QR code

Symptômes :
Suite au scan du QR code, le telehhone s’attache bien dans l application.
Au niveau de l application , l ip locale est détectéz mais pas le nom utilisateur et mot de passe.
Après les avoir saisies puis clic sur « se connecter », il propose de choisir l’équipement.Après choix d’un équipent, cela mouline (petite info de progression dans l appli en haut à droite du bouton qr code) puis cela reste sur la meme page de connexion.

12-27 20:15:42] DEBUG  : [API] Request Received {"method":"CONNECT","params":{"apiKey":"xxxxxxxxxxxxxxxx2a","deviceId":"e08c7ab479a5caa6","deviceName":"Xiaomi 14T Pro","userHash":"1DDsOIvEjD******************************************************","appVersion":"1.21.1","pluginRequire":"1.7.1","token":"d-LkYCE8TiqdprBDKA3VkB:APA91bH2qUq1qUMT5QbjEpR5S3wv_leAyD6XPCmlS2nQRIZyqVJRKgDD0U2DC7_wlJAl4X-I4Trufrftbj4RlN9Lb0k6W4Z-egI1OesyhFfObSC5hwPLxdM","platformOs":"android","osVersion":36,"appTypeVersion":"beta","buildVersion":"10530"},"jsonrpc":"2.0","id":1766862941895}
[2025-12-27 20:15:42] DEBUG  : ClientIp => 192.168.0.13
[2025-12-27 20:15:42] DEBUG  : network => internal
[2025-12-27 20:15:42] DEBUG  : localOnly => 0
[2025-12-27 20:15:49] DEBUG  : [API] Send CONNECT ->
[2025-12-27 20:15:53] DEBUG  : [API] Request Received {"method":"CHECK_AUTHENT","params":{"login":"admin","password":"***************","apiKey":"xxxxxxxxxxxxxxxxxxb2a"},"jsonrpc":"2.0","id":1766862953250}
[2025-12-27 20:15:53] DEBUG  : [API] Send CHECK_AUTHENT -> {"type":"SET_AUTHENT","payload":{"userHash":"1DDsOIvEjD******************************************************","userProfil":"admin"}}
[2025-12-27 20:15:53] DEBUG  : [API] Request Received {"method":"CHECK_USER","params":{"userHash":"1DDsOIvEjD******************************************************","apiKey":"xxxxxxxxxxxxxxxxxxx2a"},"jsonrpc":"2.0","id":1766862953344}
[2025-12-27 20:15:53] DEBUG  : ClientIp => 192.168.0.13
[2025-12-27 20:15:53] DEBUG  : network => internal
[2025-12-27 20:15:53] DEBUG  : localOnly => 0
[2025-12-27 20:15:53] DEBUG  : [API] Send CHECK_USER -> {"type":"SET_CHECK_USER","payload":{"twoFactorAuthentificationRequired":false}}
[2025-12-27 20:15:54] DEBUG  : [API] Request Received {"method":"GET_PLUGIN_CONFIG","params":{"userHash":"1DDsOIvEjD******************************************************","apiKey":"xxxxxxxxxxxxxxxx2a"},"jsonrpc":"2.0","id":1766862953405}
[2025-12-27 20:15:54] DEBUG  : [API] Send GET_PLUGIN_CONFIG -> {"type":"PLUGIN_CONFIG","payload":{"useWs":"0","polling":"1","httpUrl":"https:\/\/didi*******************","internalHttpUrl":"http:\/\/192.168.0.22","wsAddress":"ws:\/\/:8090","internalWsAddress":"ws:\/\/192.168.0.22:8090","pluginJeedomVersion":"v1.20.6 (beta)"}}
[2025-12-27 20:15:54] DEBUG  : [API] Request Received {"method":"GET_AVAILABLE_EQUIPEMENT","params":{"userHash":"1DDsOIvEjD******************************************************","apiKey":"xxxxxxxxxxxxxxxx2a"},"jsonrpc":"2.0","id":1766862953493}
[2025-12-27 20:15:54] DEBUG  : [API] Send GET_AVAILABLE_EQUIPEMENT -> {"type":"AVAILABLE_EQUIPEMENT","payload":[{"logicalId":"8ad38f84e308d75c14d9b12e27587ff3","name":"Didier compte","enable":"1","useWs":"0","polling":"0","deviceName":null,"deviceId":null},{"logicalId":"2d3f7d613c64df209d7c77718f811b2a","name":"Jconnect Phone Didier","enable":"1","useWs":"0","polling":"1","deviceName":"Xiaomi 14T Pro","deviceId":"e08c7ab479a5caa6"}]}
[2025-12-27 20:15:57] DEBUG  : [API] Request Received {"method":"CONNECT","params":{"apiKey":"xxxxxxxxxxxx2a","deviceId":"e08c7ab479a5caa6","deviceName":"Xiaomi 14T Pro","userHash":"1DDsOIvEjD******************************************************","appVersion":"1.21.1","pluginRequire":"1.7.1","token":"d-LkYCE8TiqdprBDKA3VkB:APA91bH2qUq1qUMT5QbjEpR5S3wv_leAyD6XPCmlS2nQRIZyqVJRKgDD0U2DC7_wlJAl4X-I4Trufrftbj4RlN9Lb0k6W4Z-egI1OesyhFfObSC5hwPLxdM","platformOs":"android","osVersion":36,"appTypeVersion":"beta","buildVersion":"10530"},"jsonrpc":"2.0","id":1766862957012}
[2025-12-27 20:15:57] DEBUG  : ClientIp => 192.168.0.13
[2025-12-27 20:15:57] DEBUG  : network => internal
[2025-12-27 20:15:57] DEBUG  : localOnly => 0
[2025-12-27 20:16:00] DEBUG  : [API] Send CONNECT ->

Avez vous un idée ?


Mes infos de config :

Jeedom Core : 4.4.18 (master)
DNS Jeedom : oui 

Statut Démon : Stoppé (NA)
Version JC : 1.20.6 beta
Version OS : debian 11.11
Version PHP : 7.4.33
Bin : ok / vNotif_2
Dépendances : ok

Equipements : 
  Didier compte : v1.21.1 (10530) beta  [os : 36] - PA
  Jconnect Phone Didier : v1.21.1 (10530) beta sur android [os : 36] (polling) - PA

Salut,

Hum vu le cas, tu as essayé d’activer les logs sur le téléphone ?

Voici la log du telephone
logs_Jeedom_Connect.txt (13,7 Ko)

@Andylias semble avoir le même problême

salut

la log est complete ?? pcq il manque des chose…
est ce quil y a quelque chose dans le log http.error ?

oui ca se termine par le send connect/

Un exemple de la log http error:

0776|[Sat Dec 27 20:04:12.777739 2025] [php7:warn] [pid 3157635:tid 3157635] [client 192.168.0.13:54346] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/plugins/JeedomConnect/core/class/apiHelper.class.php on line 1098
0777|[Sat Dec 27 20:05:08.584478 2025] [php7:warn] [pid 3164021:tid 3164021] [client 192.168.0.13:34024] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/plugins/JeedomConnect/core/class/apiHelper.class.php on line 1098
0778|[Sat Dec 27 20:05:20.750256 2025] [php7:warn] [pid 3164021:tid 3164021] [client 192.168.0.13:42192] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/plugins/JeedomConnect/core/class/apiHelper.class.php on line 1098
0779|[Sat Dec 27 20:05:36.853456 2025] [php7:warn] [pid 3164481:tid 3164481] [client 192.168.0.13:52088] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/plugins/JeedomConnect/core/class/apiHelper.class.php on line 1098
0780|[Sat Dec 27 20:05:38.598997 2025] [php7:warn] [pid 3164481:tid 3164481] [client 192.168.0.13:52088] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/plugins/JeedomConnect/core/class/apiHelper.class.php on line 1098
0781|[Sat Dec 27 20:14:18.556592 2025] [php7:warn] [pid 2172862:tid 2172862] [client 192.168.0.13:43588] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/plugins/JeedomConnect/core/class/apiHelper.class.php on line 1098
0782|[Sat Dec 27 20:14:23.660101 2025] [php7:warn] [pid 2172862:tid 2172862] [client 192.168.0.13:43588] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/plugins/JeedomConnect/core/class/apiHelper.class.php on line 1098
0783|[Sat Dec 27 20:14:47.125848 2025] [php7:warn] [pid 3157525:tid 3157525] [client 192.168.0.13:51472] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/plugins/JeedomConnect/core/class/apiHelper.class.php on line 1098
0784|[Sat Dec 27 20:15:49.198122 2025] [php7:warn] [pid 3160270:tid 3160270] [client 192.168.0.13:42864] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/plugins/JeedomConnect/core/class/apiHelper.class.php on line 1098
0785|[Sat Dec 27 20:15:59.889626 2025] [php7:warn] [pid 3160270:tid 3160270] [client 192.168.0.13:42864] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/plugins/JeedomConnect/core/class/apiHelper.class.php on line 1098
0786|[Sat Dec 27 20:23:18.674683 2025] [php7:warn] [pid 3157525:tid 3157525] [client 192.168.0.13:58922] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/plugins/JeedomConnect/core/class/apiHelper.class.php on line 1098
0787|[Sat Dec 27 20:32:37.644195 2025] [php7:warn] [pid 3176770:tid 3176770] [client 192.168.0.36:58857] PHP Warning:  explode() expects parameter 2 to be string, array given in /var/www/html/core/class/cmd.class.php on line 1656
0788|[Sat Dec 27 20:32:37.644699 2025] [php7:warn] [pid 3176770:tid 3176770] [client 192.168.0.36:58857] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/core/class/cmd.class.php on line 1658
0789|[Sat Dec 27 20:32:37.886092 2025] [php7:warn] [pid 3176770:tid 3176770] [client 192.168.0.36:58857] PHP Warning:  explode() expects parameter 2 to be string, array given in /var/www/html/core/class/cmd.class.php on line 1656
0790|[Sat Dec 27 20:32:37.886183 2025] [php7:warn] [pid 3176770:tid 3176770] [client 192.168.0.36:58857] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/core/class/cmd.class.php on line 1658
0791|[Sat Dec 27 20:43:48.886741 2025] [php7:warn] [pid 3178157:tid 3178157] [client 192.168.0.13:41320] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/plugins/JeedomConnect/core/class/apiHelper.class.php on line 1098
0792|[Sat Dec 27 20:45:26.786744 2025] [php7:warn] [pid 3195113:tid 3195113] [client 192.168.0.13:46344] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/plugins/JeedomConnect/core/class/apiHelper.class.php on line 1098
0793|[Sat Dec 27 20:48:34.202154 2025] [php7:warn] [pid 3178980:tid 3178980] [client 192.168.0.36:59116] PHP Warning:  explode() expects parameter 2 to be string, array given in /var/www/html/core/class/cmd.class.php on line 1656
0794|[Sat Dec 27 20:48:34.202274 2025] [php7:warn] [pid 3178980:tid 3178980] [client 192.168.0.36:59116] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/core/class/cmd.class.php on line 1658
0795|[Sat Dec 27 20:48:34.357999 2025] [php7:warn] [pid 3178980:tid 3178980] [client 192.168.0.36:59116] PHP Warning:  explode() expects parameter 2 to be string, array given in /var/www/html/core/class/cmd.class.php on line 1656
0796|[Sat Dec 27 20:48:34.358121 2025] [php7:warn] [pid 3178980:tid 3178980] [client 192.168.0.36:59116] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/core/class/cmd.class.php on line 1658
0797|[Sat Dec 27 21:00:10.179824 2025] [php7:notice] [pid 3198797:tid 3198797] [client 127.0.0.1:34142] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1418
0798|[Sat Dec 27 21:00:10.307360 2025] [php7:notice] [pid 3198797:tid 3198797] [client 127.0.0.1:34142] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1418
0799|[Sat Dec 27 21:32:33.239792 2025] [php7:warn] [pid 3250523:tid 3250523] [client 192.168.0.36:57068] PHP Warning:  explode() expects parameter 2 to be string, array given in /var/www/html/core/class/cmd.class.php on line 1656
0800|[Sat Dec 27 21:32:33.240293 2025] [php7:warn] [pid 3250523:tid 3250523] [client 192.168.0.36:57068] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/core/class/cmd.class.php on line 1658
0801|[Sat Dec 27 21:32:34.612691 2025] [php7:warn] [pid 3250515:tid 3250515] [client 192.168.0.36:57065] PHP Warning:  explode() expects parameter 2 to be string, array given in /var/www/html/core/class/cmd.class.php on line 1656
0802|[Sat Dec 27 21:32:34.612812 2025] [php7:warn] [pid 3250515:tid 3250515] [client 192.168.0.36:57065] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/core/class/cmd.class.php on line 1658
0803|[Sat Dec 27 21:36:32.449648 2025] [php7:warn] [pid 3250515:tid 3250515] [client 192.168.0.13:44100] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/plugins/JeedomConnect/core/class/apiHelper.class.php on line 1098
0804|[Sat Dec 27 21:36:36.542890 2025] [php7:warn] [pid 3250515:tid 3250515] [client 192.168.0.13:44100] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/plugins/JeedomConnect/core/class/apiHelper.class.php on line 1098

je repose la question : tu as supprimé ce qui est apres « send connect », sur la meme ligne ?

ok pr http.error, rien d alarmant

Ben il t’a répondu non ?

si je (re)pose une question c est rarement pour rien ^^

comme on le voit sur les autres lignes il y a toujours de la data sur la meme ligne apres le TYPE d action (CONNECT) ici.
hors là il ny a rien

2 possibilites :

  • il a viré le detail de cette derniere ligne, et l affirmation reste toujours vrai → la derniere log est « send connect » : ie il ny a plus de ligne apres
  • il ny a pas de detail sur cette meme ligne → et là c est potentiellement un autre soucis (mais comme il ny a rien d autre, ca semble quand meme moins probable…)

d ou mon insistance, histoire de pas perdre du temps a chercher là où ca n est pas !

@tomitomas , 1 minutes apres il y a ca qui arrive

[2025-12-27 23:24:01] DEBUG  : [API] Request Received {"method":"SET_APPSTATE","params":{"state":"background","apiKey":"xxxxxxxxxxxxxx2a"},"jsonrpc":"2.0","id":1766874240490}
[2025-12-27 23:24:01] DEBUG  : [API] Send SET_APPSTATE -> null

je précise sans toucher le téléphone.
ca donne ca en plus large pour un cycle complet

[2025-12-27 23:22:47] DEBUG  : [API] Request Received {"method":"SET_APPSTATE","params":{"state":"active","apiKey":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2a"},"jsonrpc":"2.0","id":1766874167261}
[2025-12-27 23:22:47] DEBUG  : [API] Send SET_APPSTATE -> null
[2025-12-27 23:22:49] DEBUG  : [API] Request Received {"method":"CHECK_AUTHENT","params":{"login":"admin","password":"***************","apiKey":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2a"},"jsonrpc":"2.0","id":1766874168750}
[2025-12-27 23:22:49] DEBUG  : [API] Send CHECK_AUTHENT -> {"type":"SET_AUTHENT","payload":{"userHash":"1DDsOIvEjD******************************************************","userProfil":"admin"}}
[2025-12-27 23:22:49] DEBUG  : [API] Request Received {"method":"CHECK_USER","params":{"userHash":"1DDsOIvEjD******************************************************","apiKey":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2a"},"jsonrpc":"2.0","id":1766874168839}
[2025-12-27 23:22:49] DEBUG  : ClientIp => 192.168.0.13
[2025-12-27 23:22:49] DEBUG  : network => internal
[2025-12-27 23:22:49] DEBUG  : localOnly => 0
[2025-12-27 23:22:49] DEBUG  : [API] Send CHECK_USER -> {"type":"SET_CHECK_USER","payload":{"twoFactorAuthentificationRequired":false}}
[2025-12-27 23:22:49] DEBUG  : [API] Request Received {"method":"GET_PLUGIN_CONFIG","params":{"userHash":"1DDsOIvEjD******************************************************","apiKey":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2a"},"jsonrpc":"2.0","id":1766874168906}
[2025-12-27 23:22:49] DEBUG  : [API] Send GET_PLUGIN_CONFIG -> {"type":"PLUGIN_CONFIG","payload":{"useWs":"0","polling":"1","httpUrl":"https:\/\/didi*******************","internalHttpUrl":"http:\/\/192.168.0.22","wsAddress":"ws:\/\/:8090","internalWsAddress":"ws:\/\/192.168.0.22:8090","pluginJeedomVersion":"v1.20.6 (beta)"}}
[2025-12-27 23:22:49] DEBUG  : [API] Request Received {"method":"GET_AVAILABLE_EQUIPEMENT","params":{"userHash":"1DDsOIvEjD******************************************************","apiKey":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2a"},"jsonrpc":"2.0","id":1766874169024}
[2025-12-27 23:22:49] DEBUG  : [API] Send GET_AVAILABLE_EQUIPEMENT -> {"type":"AVAILABLE_EQUIPEMENT","payload":[{"logicalId":"8ad38f84e308d75c14d9b12e27587ff3","name":"Didier compte","enable":"1","useWs":"0","polling":"0","deviceName":null,"deviceId":null},{"logicalId":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2a","name":"Jconnect Phone Didier","enable":"1","useWs":"0","polling":"1","deviceName":"Xiaomi 14T Pro","deviceId":"e08c7ab479a5caa6"}]}
[2025-12-27 23:23:00] DEBUG  : [API] Request Received {"method":"CONNECT","params":{"apiKey":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2a","deviceId":"e08c7ab479a5caa6","deviceName":"Xiaomi 14T Pro","userHash":"1DDsOIvEjD******************************************************","appVersion":"1.21.1","pluginRequire":"1.7.1","token":"d-LkYCE8TiqdprBDKA3VkB:APA91bH2qUq1qUMT5QbjEpR5S3wv_leAyD6XPCmlS2nQRIZyqVJRKgDD0U2DC7_wlJAl4X-I4Trufrftbj4RlN9Lb0k6W4Z-egI1OesyhFfObSC5hwPLxdM","platformOs":"android","osVersion":36,"appTypeVersion":"beta","buildVersion":"10530"},"jsonrpc":"2.0","id":1766874179639}
[2025-12-27 23:23:00] DEBUG  : ClientIp => 192.168.0.13
[2025-12-27 23:23:00] DEBUG  : network => internal
[2025-12-27 23:23:00] DEBUG  : localOnly => 0
[2025-12-27 23:23:03] DEBUG  : [API] Send CONNECT ->
[2025-12-27 23:24:01] DEBUG  : [API] Request Received {"method":"SET_APPSTATE","params":{"state":"background","apiKey":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2a"},"jsonrpc":"2.0","id":1766874240490}
[2025-12-27 23:24:01] DEBUG  : [API] Send SET_APPSTATE -> null

en + t es en debian 11… pas de raison d un soucis particulier qui n ait pas deja ete vu !..

en privee, tu peux me donner un acces a ton jeedom que je regarde si je vois qlq chose, stp ?

Ok je vais te donner accès à mon bac a sable jeedom :slight_smile:

sur lequel tu as exactement le meme probleme ??

pcq des jeedoms jen ai 3 chez moi, donc …

je plaisante , j ai un seul jeedom

1 « J'aime »

j ai encore jamais rien cassé chez les autres :wink:
par contre je regarderai que demain ou lundi

Après un petit nettoyage et reconfiguration au niveau des widgets jeedomconnect, je suis revenu à une situation normale

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