Problème de Denom

Bonsoir et meilleurs voeux.
J’ai des alertes récurentes de demon non fonctionnel


Alors que tout fonctionne???

Bonsoir,

Des log en debug peut-être donneront plus d’information …

et il manque tout le contexte …

Donc Pour que la communauté puisse vous aider,
je vous invite à cliquez ici et lire entièrement ce sujet
puis revenir ajouter les informations manquantes
En éditant avec le crayon votre 1er post.

1 « J'aime »

A confirmer avec @nebz mais d’après ce que j’ai compris c’est le contrôleur unifi qui ferme la connexion du coup le daemon crash.
Mais sans trop d’importance car jeedom le redémarre.
Je suis dans le même cas de figure que toi :slight_smile:
Mais attendons la confirmation du boss :smiley:
Bonne soirée

1 « J'aime »

Oui sans les logs difficile à dire mais s’il y est écrit en effet le demon s’arrête lorsqu’il reçoit une fermeture de la connexion du contrôleur. Il faut regarder côté contrôleur (log server.log voir documentation constructeur) quel a été le problème.

J’ai le meme soucis … le contrôleur ferme la connexion (UDM pro) et je ne sais pas pourquoi, je n’arrive pas a accéder aux logs. C’est rageant car plusieurs mois auparavant, ça fonctionnait vraiment très bien, mais unifi a faire des grosses MAJ et depuis il y a des soucis.

Le plugin se connecte par quel biais au controler unifi ?

websocket

il faut regarder server.log

Bonjour

Je constate également de fréquents problèmes de demon (ce qui ne me permet pas de suivre correctement les connexions WiFi)
J’a récupéré le server.log Unifi et j’ai extrait ces lignes relatives aux websocket
[

2022-01-30T06:59:37,977] <features-report> ERROR tracer - Could not enqueue another trace: Queue full
[2022-01-30T06:59:37,979] <features-report> ERROR tracer - Could not enqueue another trace: Queue full
[2022-01-30T07:00:44,418] <webapi-3324> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T07:00:44,430] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
[2022-01-30T07:00:44,435] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [97f] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T07:00:44,439] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [97f] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T07:19:41,855] <webapi-3324> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T07:19:41,875] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
[2022-01-30T07:26:56,815] <webapi-3333> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T07:26:56,831] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [981] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T07:26:56,834] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [981] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T07:26:56,836] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [981] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T07:37:42,586] <webapi-3333> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T07:37:42,600] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
[2022-01-30T08:03:43,254] <webapi-3324> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T08:19:40,314] <pool-6-thread-7> ERROR tracer - Could not enqueue another trace: Queue full
[2022-01-30T08:39:48,479] <pool-6-thread-7> ERROR tracer - Could not enqueue another trace: Queue full
[2022-01-30T09:03:14,009] <webapi-3324> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T09:03:14,074] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
[2022-01-30T09:03:14,077] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [984] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T09:03:14,085] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [984] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T09:03:14,092] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [984] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T09:03:14,098] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [984] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T09:21:26,479] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T09:22:26,496] <webapi-3324> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T09:22:26,504] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
[2022-01-30T09:22:26,508] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [985] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T09:22:26,516] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [985] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T09:31:41,184] <webapi-3333> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T09:31:41,198] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
[2022-01-30T09:31:41,203] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [986] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T09:31:41,206] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [986] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T09:39:56,097] <webapi-3324> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T09:39:56,110] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
[2022-01-30T09:39:56,115] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [987] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T09:39:56,118] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [987] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T09:58:42,616] <webapi-3324> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T09:58:42,629] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
[2022-01-30T09:58:42,633] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [988] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T09:58:42,637] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [988] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T10:09:13,049] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T10:28:58,742] <webapi-3333> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T10:28:58,750] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
[2022-01-30T10:28:58,755] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [989] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T10:30:43,241] <pool-6-thread-7> ERROR tracer - Could not enqueue another trace: Queue full
[2022-01-30T10:39:43,344] <webapi-3324> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T10:39:43,357] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
[2022-01-30T10:39:43,362] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [98a] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T10:39:43,366] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [98a] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T11:28:15,342] <webapi-3333> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T11:28:15,349] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [98b] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T11:43:36,173] <pool-6-thread-7> ERROR tracer - Could not enqueue another trace: Queue full
[2022-01-30T12:01:12,724] <pool-6-thread-7> ERROR tracer - Could not enqueue another trace: Queue full
[2022-01-30T12:02:44,526] <webapi-3324> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T12:02:44,680] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
[2022-01-30T12:02:44,684] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [98c] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T12:48:27,446] <webapi-3324> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T12:48:27,454] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
[2022-01-30T12:48:27,458] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [98d] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T12:48:27,460] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [98d] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T12:48:27,464] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [98d] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T12:48:27,467] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [98d] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T12:59:47,529] <device-state-check> ERROR monitor - uap[f0:9f:c2:26:ea:c6] not found in devbasic cache, adding a new entry.
[2022-01-30T13:11:44,714] <pool-6-thread-7> ERROR tracer - Could not enqueue another trace: Queue full
[2022-01-30T13:45:27,631] <webapi-3333> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T13:45:27,651] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
[2022-01-30T13:45:27,662] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [98e] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T13:56:56,703] <webapi-3333> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T13:56:56,716] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
[2022-01-30T13:56:56,724] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [98f] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T13:56:56,728] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [98f] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T14:45:15,855] <webapi-3324> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T14:45:15,863] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
[2022-01-30T14:45:15,875] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [990] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T15:06:41,876] <webapi-3337> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T15:20:56,603] <webapi-3337> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T15:39:57,198] <webapi-3324> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T15:39:57,324] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
[2022-01-30T15:39:57,328] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [993] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T15:39:57,330] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [993] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T16:02:58,176] <pool-6-thread-7> ERROR tracer - Could not enqueue another trace: Queue full
[2022-01-30T16:03:56,820] <webapi-3337> WARN  api    - websocket session error:The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method
[2022-01-30T16:03:56,842] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [994] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T16:03:56,846] <ws-notify> WARN  api    - unable to send over websocket java.lang.IllegalStateException: The WebSocket session [994] has been closed and no method (apart from close()) may be called on a closed session
[2022-01-30T16:26:39,522] <webapi-3357> ERROR system - Failed to load file[/usr/lib/unifi/data/firmware/firmware_meta.json] as JSON
java.io.FileNotFoundException: /usr/lib/unifi/data/firmware/firmware_meta.json (No such file or directory)

J’ai ceci en log du plugin

events.js:377
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE: address already in use :::55056
at Server.setupListenHandle [as _listen2] (net.js:1320:16)
at listenInCluster (net.js:1368:12)
at Server.listen (net.js:1454:7)
at Function.listen (/var/www/html/plugins/unifi/resources/node_modules/express/lib/application.js:618:24)
at Object.<anonymous> (/var/www/html/plugins/unifi/resources/unifiDaemon.js:168:14)
at Module._compile (internal/modules/cjs/loader.js:1072:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
Emitted 'error' event on Server instance at:
at emitErrorNT (net.js:1347:8)
at processTicksAndRejections (internal/process/task_queues.js:82:21) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 55056
}

Mais impossible de savoir de quand date ces messages

Il faudrait que je piste un arrêt du demon pour récupérer le server.log Unifi à ce moment là

NB : UniFi Network Application 6.5.53
Contrôleur Unifi Cloud Key

1 « J'aime »