Je ne sais pas si c’est lié mais si je passe les logs en debug coté plugin j’ai cela :
[2022-10-15 09:48:50,886][ERROR] : no client found !
Traceback (most recent call last):
File "/var/www/html/plugins/JeedomConnect/resources/JeedomConnectd/JeedomConnectd.py", line 73, in read_socket
raise Exception("no client found ! ")
Exception: no client found !
[2022-10-15 09:52:59,156][ERROR] : no client found !
Traceback (most recent call last):
File "/var/www/html/plugins/JeedomConnect/resources/JeedomConnectd/JeedomConnectd.py", line 73, in read_socket
raise Exception("no client found ! ")
Exception: no client found !
là en test via websocket
en test via polling pas cette erreur, tout est vert dans la log debug mais tjs KO sur le tel (mode hors connexion)
j’ai fait une log coté app (en wifi), aucune erreur en rouge que de l’info, après je ne sais pas si je peux la mettre ici comme il y a des apikey et autres infos
Par contre la même log en 4G là j’ai du rouge
ERROR | Error in sendToJcApi {"message":"Network Error","name":"AxiosError","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{"FormData":null},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json"},"cancelToken":{"promise":{"_h":1,"_i":0,"_j":null,"_k":{"onRejected":null,"promise":{"_h":0,"_i":0,"_j":null,"_k":null}}},"_listeners":[null]},"method":"post","url":"http://192.168.1.21/plugins/JeedomConnect/core/api/JeedomConnect.api.php","data":"{\"method\":\"PING\",\"jsonrpc\":\"2.0\",\"id\":1122222222222222,\"params\":{\"apiKey\":\"11111111111111111111111111111111\"}}"},"code":"ERR_NETWORK","status":null}
A noter qu’après plusieurs minutes le bandeau rouge « mode hors connexion » disparait et l’app à l’air de recevoir les infos (du moins en 4G)