Error MQTT2 depuis quelques jours

Bonjour,

Depuis quelques jours, j’ai cette erreur dans les log MQTT2

0940|[2024-01-29 12:04:31][ERROR] : Error on send to jeedom : {"message":"Request failed with status code 500","name":"AxiosError","stack":"AxiosError: Request failed with status code 500
0941|at settle (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:1913:12)
0942|at IncomingMessage.handleStreamEnd (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:3008:11)
0943|at IncomingMessage.emit (node:events:529:35)
0944|at endReadableNT (node:internal/streams/readable:1400:12)
0945|at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/1.6.0","Content-Length":"3733","Accept-Encoding":"gzip, compress, deflate, br"},"method":"post","url":"http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=ZiNZ42v66VwwFi8L5meWdj5jaSkkvCXXZDhVt5xTHBAGgSBhqIWnfYI4gqJidZSH","data":"{\"zwave\":{\"20\":{\"lastActive\":{\"time\":1706529870743,\"value\":1706529870493}},\"90\":{\"49\":{\"0\":{\"Power\":{\"time\":1706529870947,\"value\":0.6}}},\"lastActive\":{\"time\":1706529870943,\"value\":1706529870943}},\"_EVENTS\":{\"ZWAVE_GATEWAY-Jeedom\":{\"node\":{\"statistics_updated\":{\"data\":[{\"id\":90,\"inited\":true,\"status\":4,\"isControllerNode\":false,\"interviewStage\":5,\"deviceClass\":{\"basic\":\"Routing Slave\",\"generic\":\"Binary Switch\",\"specific\":\"Unused\",\"mandatorySupportedCCs\":[\"Basic\",\"Binary Switch\"],\"mandatoryControlCCs\":[]},\"ready\":true,\"isListening\":true,\"isFrequentListening\":false,\"canSleep\":false,\"isRouting\":true,\"supportedDataRates\":[40000],\"maxDataRate\":40000,\"supportsSecurity\":false,\"isSecure\":false,\"supportsBeaming\":true,\"protocolVersion\":3,\"firmwareVersion\":\"25.25\",\"manufacturerId\":271,\"manufacturer\":\"Fibargroup\",\"productId\":4096,\"productDescription\":\"Metered Wall Plug Switch\",\"productType\":1536,\"productLabel\":\"FGWPE/F-101\",\"deviceDatabaseUrl\":\"https://devices.zwave-js.io/?jumpTo=0x010f:0x0600:0x1000:25.25\",\"keepAwake\":false},{\"commandsTX\":8,\"commandsRX\":329822,\"commandsDroppedRX\":20,\"commandsDroppedTX\":0,\"timeoutResponse\":1,\"rtt\":30.9,\"lastSeen\":\"2024-01-29T12:04:30.943Z\",\"lwr\":{\"repeaters\":[25],\"protocolDataRate\":2}}]},\"node_metadata_updated\":{\"data\":[{\"id\":90,\"inited\":true,\"status\":4,\"isControllerNode\":false,\"interviewStage\":5,\"deviceClass\":{\"basic\":\"Routing Slave\",\"generic\":\"Binary Switch\",\"specific\":\"Unused\",\"mandatorySupportedCCs\":[\"Basic\",\"Binary Switch\"],\"mandatoryControlCCs\":[]},\"ready\":true,\"isListening\":true,\"isFrequentListening\":false,\"canSleep\":false,\"isRouting\":true,\"supportedDataRates\":[40000],\"maxDataRate\":40000,\"supportsSecurity\":false,\"isSecure\":false,\"supportsBeaming\":true,\"protocolVersion\":3,\"firmwareVersion\":\"25.25\",\"manufacturerId\":271,\"manufacturer\":\"Fibargroup\",\"productId\":4096,\"productDescription\":\"Metered Wall Plug Switch\",\"productType\":1536,\"productLabel\":\"FGWPE/F-101\",\"deviceDatabaseUrl\":\"https://devices.zwave-js.io/?jumpTo=0x010f:0x0600:0x1000:25.25\",\"keepAwake\":false},{\"commandClassName\":\"Multilevel Sensor\",\"commandClass\":49,\"property\":\"Power\",\"endpoint\":0,\"metadata\":{\"type\":\"number\",\"readable\":true,\"writeable\":false,\"label\":\"Power\",\"unit\":\"W\",\"ccSpecific\":{\"sensorType\":4,\"scale\":0},\"stateful\":true,\"secret\":false},\"propertyName\":\"Power\",\"nodeId\":90}]},\"node_value_updated\":{\"data\":[{\"id\":90,\"inited\":true,\"status\":4,\"isControllerNode\":false,\"interviewStage\":5,\"deviceClass\":{\"basic\":\"Routing Slave\",\"generic\":\"Binary Switch\",\"specific\":\"Unused\",\"mandatorySupportedCCs\":[\"Basic\",\"Binary Switch\"],\"mandatoryControlCCs\":[]},\"ready\":true,\"isListening\":true,\"isFrequentListening\":false,\"canSleep\":false,\"isRouting\":true,\"supportedDataRates\":[40000],\"maxDataRate\":40000,\"supportsSecurity\":false,\"isSecure\":false,\"supportsBeaming\":true,\"protocolVersion\":3,\"firmwareVersion\":\"25.25\",\"manufacturerId\":271,\"manufacturer\":\"Fibargroup\",\"productId\":4096,\"productDescription\":\"Metered Wall Plug Switch\",\"productType\":1536,\"productLabel\":\"FGWPE/F-101\",\"deviceDatabaseUrl\":\"https://devices.zwave-js.io/?jumpTo=0x010f:0x0600:0x1000:25.25\",\"keepAwake\":false},{\"commandClassName\":\"Multilevel Sensor\",\"commandClass\":49,\"property\":\"Power\",\"endpoint\":0,\"newValue\":0.6,\"prevValue\":0.4,\"propertyName\":\"Power\"}]}}}}},\"zigbee2mqtt\":{\"0xa4c13879bd6efdd7\":{\"battery\":90,\"battery_state\":\"high\",\"device\":{\"applicationVersion\":72,\"dateCode\":\"\",\"friendlyName\":\"0xa4c13879bd6efdd7\",\"hardwareVersion\":1,\"ieeeAddr\":\"0xa4c13879bd6efdd7\",\"manufacturerID\":4417,\"manufacturerName\":\"_TZE200_myd45weu\",\"model\":\"TS0601_soil\",\"networkAddress\":32527,\"powerSource\":\"Battery\",\"stackVersion\":0,\"type\":\"EndDevice\",\"zclVersion\":3},\"last_seen\":\"2024-01-29T12:04:30.773Z\",\"linkquality\":255,\"soil_moisture\":36,\"temperature\":21}}}"},"code":"ERR_BAD_RESPONSE","status":500}

Jeedom 4.4
Derniere version de MQTT2

Tout semble fonctionner correctement coté zwave-js et jeezigbee
Je ne trouve rien sur la communauté et rien sur le net.
Merci d’avance.

Patrice

PB installation Jee Zigbee sur clé Sonoff Dongle plus - #24 par Mick33

"AxiosError"

Salut,
Vous n’êtes pas le premier a avoir cette erreur dans les logs MQTT2

sudo npm show axios version

1.6.7 est la dernière version

image

axios - npm

J’ai la même version installée.

Hello,

Même chose pour moi, j’ai fait la mise à jour vers la dernière version hier et depuis même message d’erreur en boucle dans les logs mais je n’ai pas remarqué pour autant de dysfonctionnement.

Bonjour
Vu que c’est une erreur 500 il faudrait le log http.error

Bonjour

Moi aussi je pense avoir la même chose voici les logs:


Log mqtt2d:


0210|[2024-07-31 11:01:31] ERROR  : Error on send to jeedom : {"message":"Request failed with status code 500","name":"AxiosError","stack":"AxiosError: Request failed with status code 500
0211|at settle (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:1913:12)
0212|at IncomingMessage.handleStreamEnd (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:2995:11)
0213|at IncomingMessage.emit (node:events:529:35)
0214|at endReadableNT (node:internal/streams/readable:1400:12)
0215|at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/1.5.1","Content-Length":"1056","Accept-Encoding":"gzip, compress, deflate, br"},"method":"post","url":"http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=gXGM0Kap3Nli3ci6l2ndeS8wiPSn8MNIeMGQEMRlTPrItDBwRcWtdIQFWeEmLIUR","data":"{\"zwave\":{\"4\":{\"lastActive\":{\"time\":1722423691268,\"value\":1722423691268}},\"_EVENTS\":{\"ZWAVE_GATEWAY-Jeedom\":{\"node\":{\"statistics_updated\":{\"data\":[{\"id\":4,\"inited\":true,\"name\":\"Energie Tablette\",\"location\":\"MAISON\",\"status\":4,\"isControllerNode\":false,\"interviewStage\":5,\"zwavePlusVersion\":1,\"ready\":true,\"zwavePlusRoleType\":5,\"isListening\":true,\"isFrequentListening\":false,\"canSleep\":false,\"isRouting\":true,\"supportedDataRates\":[40000,100000],\"maxDataRate\":100000,\"supportsSecurity\":false,\"isSecure\":false,\"supportsBeaming\":true,\"protocolVersion\":3,\"firmwareVersion\":\"1.55\",\"manufacturerId\":357,\"manufacturer\":\"ID-RF\",\"productId\":3,\"productDescription\":\"Z-Wave Plus Micro Smart Plug ON/OFF\",\"productType\":1,\"productLabel\":\"MSP-3-1-X1\",\"deviceDatabaseUrl\":\"https://devices.zwave-js.io/?jumpTo=0x0165:0x0001:0x0003:1.55\",\"keepAwake\":false,\"protocol\":0},{\"commandsTX\":69,\"commandsRX\":1676387,\"commandsDroppedRX\":1,\"commandsDroppedTX\":0,\"timeoutResponse\":51,\"rtt\":252.5,\"lastSeen\":\"2024-07-31T11:01:31.268Z\",\"lwr\":{\"repeaters\":[5],\"protocolDataRate\":1}}]}}}}}}"},"code":"ERR_BAD_RESPONSE","status":500}
0216|[2024-07-31 11:01:31] ERROR  : Error on send to jeedom : {"message":"Request failed with status code 500","name":"AxiosError","stack":"AxiosError: Request failed with status code 500
0217|at settle (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:1913:12)
0218|at IncomingMessage.handleStreamEnd (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:2995:11)
0219|at IncomingMessage.emit (node:events:529:35)
0220|at endReadableNT (node:internal/streams/readable:1400:12)
0221|at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/1.5.1","Content-Length":"1056","Accept-Encoding":"gzip, compress, deflate, br"},"method":"post","url":"http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=gXGM0Kap3Nli3ci6l2ndeS8wiPSn8MNIeMGQEMRlTPrItDBwRcWtdIQFWeEmLIUR","data":"{\"zwave\":{\"4\":{\"lastActive\":{\"time\":1722423691519,\"value\":1722423691516}},\"_EVENTS\":{\"ZWAVE_GATEWAY-Jeedom\":{\"node\":{\"statistics_updated\":{\"data\":[{\"id\":4,\"inited\":true,\"name\":\"Energie Tablette\",\"location\":\"MAISON\",\"status\":4,\"isControllerNode\":false,\"interviewStage\":5,\"zwavePlusVersion\":1,\"ready\":true,\"zwavePlusRoleType\":5,\"isListening\":true,\"isFrequentListening\":false,\"canSleep\":false,\"isRouting\":true,\"supportedDataRates\":[40000,100000],\"maxDataRate\":100000,\"supportsSecurity\":false,\"isSecure\":false,\"supportsBeaming\":true,\"protocolVersion\":3,\"firmwareVersion\":\"1.55\",\"manufacturerId\":357,\"manufacturer\":\"ID-RF\",\"productId\":3,\"productDescription\":\"Z-Wave Plus Micro Smart Plug ON/OFF\",\"productType\":1,\"productLabel\":\"MSP-3-1-X1\",\"deviceDatabaseUrl\":\"https://devices.zwave-js.io/?jumpTo=0x0165:0x0001:0x0003:1.55\",\"keepAwake\":false,\"protocol\":0},{\"commandsTX\":69,\"commandsRX\":1676389,\"commandsDroppedRX\":1,\"commandsDroppedTX\":0,\"timeoutResponse\":51,\"rtt\":252.5,\"lastSeen\":\"2024-07-31T11:01:31.516Z\",\"lwr\":{\"repeaters\":[5],\"protocolDataRate\":1}}]}}}}}}"},"code":"ERR_BAD_RESPONSE","status":500}
0222|[2024-07-31 11:01:31] ERROR  : Error on send to jeedom : {"message":"Request failed with status code 500","name":"AxiosError","stack":"AxiosError: Request failed with status code 500
0223|at settle (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:1913:12)
0224|at IncomingMessage.handleStreamEnd (/var/www/html/plugins/mqtt2/resources/mqtt2d/node_modules/axios/dist/node/axios.cjs:2995:11)
0225|at IncomingMessage.emit (node:events:529:35)
0226|at endReadableNT (node:internal/streams/readable:1400:12)
0227|at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http"],"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","User-Agent":"axios/1.5.1","Content-Length":"1056","Accept-Encoding":"gzip, compress, deflate, br"},"method":"post","url":"http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php?apikey=gXGM0Kap3Nli3ci6l2ndeS8wiPSn8MNIeMGQEMRlTPrItDBwRcWtdIQFWeEmLIUR","data":"{\"zwave\":{\"4\":{\"lastActive\":{\"time\":1722423691767,\"value\":1722423691767}},\"_EVENTS\":{\"ZWAVE_GATEWAY-Jeedom\":{\"node\":{\"statistics_updated\":{\"data\":[{\"id\":4,\"inited\":true,\"name\":\"Energie Tablette\",\"location\":\"MAISON\",\"status\":4,\"isControllerNode\":false,\"interviewStage\":5,\"zwavePlusVersion\":1,\"ready\":true,\"zwavePlusRoleType\":5,\"isListening\":true,\"isFrequentListening\":false,\"canSleep\":false,\"isRouting\":true,\"supportedDataRates\":[40000,100000],\"maxDataRate\":100000,\"supportsSecurity\":false,\"isSecure\":false,\"supportsBeaming\":true,\"protocolVersion\":3,\"firmwareVersion\":\"1.55\",\"manufacturerId\":357,\"manufacturer\":\"ID-RF\",\"productId\":3,\"productDescription\":\"Z-Wave Plus Micro Smart Plug ON/OFF\",\"productType\":1,\"productLabel\":\"MSP-3-1-X1\",\"deviceDatabaseUrl\":\"https://devices.zwave-js.io/?jumpTo=0x0165:0x0001:0x0003:1.55\",\"keepAwake\":false,\"protocol\":0},{\"commandsTX\":69,\"commandsRX\":1676389,\"commandsDroppedRX\":1,\"commandsDroppedTX\":0,\"timeoutResponse\":51,\"rtt\":252.5,\"lastSeen\":\"2024-07-31T11:01:31.767Z\",\"lwr\":{\"repeaters\":[5],\"protocolDataRate\":1}}]}}}}}}"},"code":"ERR_BAD_RESPONSE","status":500}

http.error:


0566|[Wed Jul 31 20:00:07.150201 2024] [php7:notice] [pid 1444599] [client 127.0.0.1:43252] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1398
0567|[Wed Jul 31 21:00:07.519477 2024] [php7:notice] [pid 1444265] [client 127.0.0.1:50072] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1398
0568|[Wed Jul 31 22:00:08.430021 2024] [php7:notice] [pid 1443733] [client 127.0.0.1:47716] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1398
0569|[Wed Jul 31 23:00:06.990606 2024] [php7:notice] [pid 1483468] [client 127.0.0.1:60706] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1398
0570|[Thu Aug 01 00:00:05.220134 2024] [php7:notice] [pid 1516952] [client 127.0.0.1:38946] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1398
0571|[Thu Aug 01 01:00:04.549914 2024] [php7:notice] [pid 1516784] [client 127.0.0.1:39020] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1398
0572|[Thu Aug 01 02:00:03.762364 2024] [php7:notice] [pid 1545957] [client 127.0.0.1:42022] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1398
0573|[Thu Aug 01 03:00:05.863099 2024] [php7:notice] [pid 1516761] [client 127.0.0.1:38594] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1398
0574|[Thu Aug 01 04:00:02.754499 2024] [php7:notice] [pid 1545957] [client 127.0.0.1:44950] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1398
0575|[Thu Aug 01 05:00:03.542551 2024] [php7:notice] [pid 1444599] [client 127.0.0.1:57514] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1398
0576|[Thu Aug 01 06:00:04.245564 2024] [php7:notice] [pid 1532744] [client 127.0.0.1:53502] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1398
0577|[Thu Aug 01 07:00:07.606606 2024] [php7:notice] [pid 1576905] [client 127.0.0.1:39874] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1398
0578|[Thu Aug 01 08:00:09.292631 2024] [php7:notice] [pid 1608490] [client 127.0.0.1:36522] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1398
0579|[Thu Aug 01 09:00:07.514437 2024] [php7:notice] [pid 1629372] [client 127.0.0.1:50644] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1398
0580|[Thu Aug 01 10:00:07.482459 2024] [php7:notice] [pid 1626863] [client 127.0.0.1:44452] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1398
0581|[Thu Aug 01 11:00:07.698456 2024] [php7:notice] [pid 1651933] [client 127.0.0.1:49966] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1398
0582|[Thu Aug 01 12:00:07.115712 2024] [php7:notice] [pid 1651752] [client 127.0.0.1:42468] PHP Notice:  Undefined index: firmwareVersion in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 1398