Docker et Eufy qui ne semblent pas se lancer

pour la commande : sudo systemctl status docker.service

* docker.service - Docker Application Container Engine
     Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2026-02-12 10:17:43 CET; 1h 44min ago
TriggeredBy: * docker.socket
       Docs: https://docs.docker.com
   Main PID: 17310 (dockerd)
      Tasks: 31
     Memory: 48.9M
        CPU: 20.142s
     CGroup: /system.slice/docker.service
             |-17310 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
             |-65128 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 3000 -container-ip 172.18.0.2 -container-port 3000 -use-listen-fd
             `-65136 /usr/bin/docker-proxy -proto tcp -host-ip :: -host-port 3000 -container-ip 172.18.0.2 -container-port 3000 -use-listen-fd

Feb 12 11:36:07 JeedomAtlas dockerd[17310]: time="2026-02-12T11:36:07.698374047+01:00" level=info msg="sbJoin: gwep4 ''->'ec2adbc9c960', gwep6 ''->''" eid=ec2adbc9c960 ep=eufy net=data_default nid=dc29f576c58f
Feb 12 11:40:43 JeedomAtlas dockerd[17310]: time="2026-02-12T11:40:43.620229452+01:00" level=info msg="ignoring event" container=072d17f56bcba91645c5d000bb71360615869a032bc91f007d31bfe6eebfc067 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Feb 12 11:40:44 JeedomAtlas dockerd[17310]: time="2026-02-12T11:40:44.296719681+01:00" level=info msg="sbJoin: gwep4 ''->'9a1bd69ce45e', gwep6 ''->''" eid=9a1bd69ce45e ep=eufy net=data_default nid=dc29f576c58f
Feb 12 11:45:20 JeedomAtlas dockerd[17310]: time="2026-02-12T11:45:20.070723626+01:00" level=info msg="ignoring event" container=072d17f56bcba91645c5d000bb71360615869a032bc91f007d31bfe6eebfc067 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Feb 12 11:45:20 JeedomAtlas dockerd[17310]: time="2026-02-12T11:45:20.649891221+01:00" level=info msg="sbJoin: gwep4 ''->'35ebd23f484d', gwep6 ''->''" eid=35ebd23f484d ep=eufy net=data_default nid=dc29f576c58f
Feb 12 11:49:57 JeedomAtlas dockerd[17310]: time="2026-02-12T11:49:57.164357907+01:00" level=info msg="sbJoin: gwep4 ''->'076157e14bbb', gwep6 ''->''" eid=076157e14bbb ep=eufy net=data_default nid=dc29f576c58f
Feb 12 11:54:33 JeedomAtlas dockerd[17310]: time="2026-02-12T11:54:33.026025838+01:00" level=info msg="ignoring event" container=072d17f56bcba91645c5d000bb71360615869a032bc91f007d31bfe6eebfc067 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Feb 12 11:54:33 JeedomAtlas dockerd[17310]: time="2026-02-12T11:54:33.625923189+01:00" level=info msg="sbJoin: gwep4 ''->'fe233222af09', gwep6 ''->''" eid=fe233222af09 ep=eufy net=data_default nid=dc29f576c58f
Feb 12 11:59:09 JeedomAtlas dockerd[17310]: time="2026-02-12T11:59:09.534201736+01:00" level=info msg="ignoring event" container=072d17f56bcba91645c5d000bb71360615869a032bc91f007d31bfe6eebfc067 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Feb 12 11:59:10 JeedomAtlas dockerd[17310]: time="2026-02-12T11:59:10.178206965+01:00" level=info msg="sbJoin: gwep4 ''->'40ef6bde94ad', gwep6 ''->''" eid=40ef6bde94ad ep=eufy net=data_default nid=dc29f576c58f

pour la commande : sudo journalctl -xe

sudo journalctl -xe

Sinon j’ai progressé, la communication est maintenant ok

et le docker eufy est maintenant créer


mais les commandes sont vides

Maintenant comment vérifier que la connexion au cloud eufy se passe bien ?

Rootard,
je viens d’effectuer des test avec copilot, je ne connais pas ces competences, voila son retour:

Je rencontre un problème persistant avec le plugin Eufy sur Jeedom Atlas, même en version bêta.

Symptôme principal

Le conteneur Docker eufy-security-ws démarre correctement, mais ne se connecte jamais au cloud Eufy.
Le test de communication affiche systématiquement NOK.

Comportement observé

  • Le conteneur écoute bien sur localhost:3000
  • Le service interne est “online”
  • Le démon reste NOK
  • Le test “Communication → Tester” reste NOK
  • Le centre de messages affiche :
    “Container Eufy non connecté au Cloud”

Logs (extraits)

container localhost:3000 is listening
eufy-security-ws service online
ERROR Container Eufy non connecté au Cloud

Test important effectué

Pour vérifier si le conteneur reçoit les identifiants :

  1. J’ai volontairement mis un faux mot de passe (“test1234”)
  2. Sauvegardé
  3. Cliqué sur “Tester”

:right_arrow: Le log reste strictement identique, aucune erreur “invalid credentials”.

Conclusion du test

Le conteneur ne reçoit pas les identifiants envoyés par Jeedom en mode docker local sur Jeedom Atlas.

Contexte matériel

  • Jeedom Atlas (donc pas de mode “docker host” disponible)
  • Plugin Eufy en version bêta
  • Pas de machine externe pour utiliser “docker distant”
  • NAS Buffalo LS220D (non compatible Docker)

Besoin

Pouvez‑vous vérifier la transmission des identifiants au conteneur en mode docker local sur Jeedom Atlas ?
Il semble que le conteneur démarre correctement mais ne reçoit jamais les credentials, ce qui empêche toute connexion au cloud.

Merci d’avance pour votre aide et votre retour.


ok un problème de réglé
lances les commandes suivantes:

cd /var/www/html/plugins/eufy/resources
eufy test
eufy log

eufy test

sh: line 1: eufy: command not found

eufy log

sh: line 1: eufy: command not found
su -
cd /var/www/html/plugins/eufy/resources
./eufy test
./eufy log

Désolé mais je suis vraiment un débutant.
Merci de prendre le temps de me répondre.

résultat de la commande ./eufy test

root@JeedomAtlas:/var/www/html/plugins/eufy/resources# eufy action: test options:
test du container: 9ebf9455cd55 options:
python3 path: /usr/bin/python3
Traceback (most recent call last):
  File "/var/www/html/plugins/eufy/resources/../resources/test_eufy.py", line 20, in <module>                                                ws = client.connect("ws://" + url)
  File "/usr/local/lib/python3.9/dist-packages/websockets/sync/client.py", line 378, in connect
    connection.handshake(thon3.9/dist-packages/websockets/sync/client.py", line                                                            File "/usr/local/lib/python3.9/dist-packages/websockets/sync/client.py", line 85, in handshake
    with self.send_context(expected_state=CONNECTING):
  File "/usr/lib/python3.9/contextlib.py", line 117, in __enter__ient.py", line                                                              return next(self.gen)
  File "/usr/local/lib/python3.9/dist-packages/websockets/sync/connection.py", line 1012, in send_context
    raise self.protocol.close_exc from original_exc, in __enter__
websockets.exceptions.ConnectionClosedError: no close frame received or sent
root@JeedomAtlas:/var/www/html/plugins/eufy/resources#ets/sync/connection.py", l                                                         eufy action: test options:
test du container: 9ebf9455cd55 options:riginal_exc
python3 path: /usr/bin/python3onClosedError: no close frame received or sent
Traceback (most recent call last):gins/eufy/resources#
  File "/var/www/html/plugins/eufy/resources/../resources/test_eufy.py", line 20, in <module>
    ws = client.connect("ws://" + url)s:
  File "/usr/local/lib/python3.9/dist-packages/websockets/sync/client.py", line 378, in connect
    connection.handshake(ll last):
  File "/usr/local/lib/python3.9/dist-packages/websockets/sync/client.py", line 85, in handshake                                             with self.send_context(expected_state=CONNECTING):
  File "/usr/lib/python3.9/contextlib.py", line 117, in __enter__
    return next(self.gen)thon3.9/dist-packages/websockets/sync/client.py", line                                                            File "/usr/local/lib/python3.9/dist-packages/websockets/sync/connection.py", line 1012, in send_context
    raise self.protocol.close_exc from original_exc
websockets.exceptions.ConnectionClosedError: no close frame received or sentine                                                          root@JeedomAtlas:/var/www/html/plugins/eufy/resources#
eufy action: test options:(expected_state=CONNECTING):
test du container: 9ebf9455cd55 options:", line 117, in __enter__
python3 path: /usr/bin/python3
Traceback (most recent call last):ist-packages/websockets/sync/connection.py", l                                                           File "/var/www/html/plugins/eufy/resources/../resources/test_eufy.py", line 20, in <module>
    ws = client.connect("ws://" + url) original_exc
  File "/usr/local/lib/python3.9/dist-packages/websockets/sync/client.py", line 378, in connect
    connection.handshake(/html/plugins/eufy/resources#
  File "/usr/local/lib/python3.9/dist-packages/websockets/sync/client.py", line 85, in handshake
    with self.send_context(expected_state=CONNECTING):
  File "/usr/lib/python3.9/contextlib.py", line 117, in __enter__
    return next(self.gen)ll last):
  File "/usr/local/lib/python3.9/dist-packages/websockets/sync/connection.py", line 1012, in send_context                                    raise self.protocol.close_exc from original_exc
websockets.exceptions.ConnectionClosedError: no close frame received or sent
root@JeedomAtlas:/var/www/html/plugins/eufy/resources#ets/sync/client.py", line                                                          eufy action: test options:
test du container: 9ebf9455cd55 options:
python3 path: /usr/bin/python3.9/dist-packages/websockets/sync/client.py", line                                                          Traceback (most recent call last):
  File "/var/www/html/plugins/eufy/resources/../resources/test_eufy.py", line 20                                                           root@JeedomAtlas:/var/www/html/plugins/eufy/resources# File "/usr/local/lib/python3.9/dist-packages/websockets/sync/client.py", line  ^C
root@JeedomAtlas:/var/www/html/plugins/eufy/resources#


résultat de la commande ./eufy log

eufy action: log options:
usage: ./eufy [-h] [-d device] [-u url] action
-h show this help message and exit
action: { install|uninstall|upgrade|start|stop|restart|status|info|logs|test }
test optional arguments:
      -d DEVICE device serial number
      -u URL eufy service URL, default 127.0.0.1:3000

ah oui la commande c’est eufy logs
reessaie:

su -
cd /var/www/html/plugins/eufy/resources
./eufy info
./eufy -u 127.0.0.1:3000 test
./eufy -u 127.0.0.1:3000 logs

résultat de la commande ./eufy info

eufy action: log options:
usage: ./eufy [-h] [-d device] [-u url] action
-h show this help message and exit
action: { install|uninstall|upgrade|start|stop|restart|status|info|logs|test }
test optional arguments:
      -d DEVICE device serial number
      -u URL eufy service URL, default 127.0.0.1:3000
root@JeedomAtlas:/var/www/html/plugins/eufy/resources# ^C
root@JeedomAtlas:/var/www/html/plugins/eufy/resources# ./eufy info
eufy action: info options:
9ebf9455cd55   bropat/eufy-security-ws:latest   "docker-entrypoint.s…"   10 hours ago   Up 3 minutes (healthy)   0.0.0.0:3000->3000/tcp, [::]:3000->3000/tcp   eufy

résultat de la commande ./eufy -u 127.0.0.1:3000 test

eufy action: test options: -u 127.0.0.1:3000
test du container: 9ebf9455cd55 options: -u 127.0.0.1:3000
python3 path: /usr/bin/python3
Traceback (most recent call last):
  File "/var/www/html/plugins/eufy/resources/../resources/test_eufy.py", line 20, in <module>
    ws = client.connect("ws://" + url)
  File "/usr/local/lib/python3.9/dist-packages/websockets/sync/client.py", line 378, in connect
    connection.handshake(
  File "/usr/local/lib/python3.9/dist-packages/websockets/sync/client.py", line 85, in handshake
    with self.send_context(expected_state=CONNECTING):
  File "/usr/lib/python3.9/contextlib.py", line 117, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.9/dist-packages/websockets/sync/connection.py", line 1012, in send_context
    raise self.protocol.close_exc from original_exc
websockets.exceptions.ConnectionClosedError: no close frame received or sent

résultat de la commande ./eufy -u 127.0.0.1:3000 logs

Unable to start driver RequestError
    at ClientRequest.<anonymous> (file:///usr/src/app/node_modules/got/dist/source/core/index.js:667:107)
    at Object.onceWrapper (node:events:639:26)
    at ClientRequest.emit (node:events:536:35)
    at ClientRequest.emit (node:domain:489:12)
    at emitErrorEvent (node:_http_client:101:11)
    at TLSSocket.socketErrorListener (node:_http_client:504:5)
    at TLSSocket.emit (node:events:524:28)
    at TLSSocket.emit (node:domain:489:12)
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)AggregateError [ETIMEDOUT]:
    at internalConnectMultiple (node:net:1122:18)
    at afterConnectMultiple (node:net:1689:7) {
  input: undefined,
  code: 'ETIMEDOUT',
  timings: {
    start: 1770935354817,
    socket: 1770935354829,
    lookup: 1770935354843,
    connect: undefined,
    secureConnect: undefined,
    upload: undefined,
    response: undefined,
    end: undefined,
    error: 1770935490958,
    abort: undefined,
    phases: {
      wait: 12,
      dns: 14,
      tcp: undefined,
      tls: undefined,
      request: undefined,
      firstByte: undefined,
      download: undefined,
      total: 136141
    }
  },
  options: {
    request: undefined,
    agent: { http: undefined, https: undefined, http2: undefined },
    h2session: undefined,
    decompress: true,
    timeout: {
      connect: undefined,
      lookup: undefined,
      read: undefined,
      request: undefined,
      response: undefined,
      secureConnect: undefined,
      send: undefined,
      socket: undefined
    },
    prefixUrl: '',
    body: undefined,
    form: undefined,
    json: undefined,
    cookieJar: undefined,
    ignoreInvalidCookies: false,
    searchParams: undefined,
    dnsLookup: undefined,
    dnsCache: undefined,
    context: {},
    hooks: {
      init: [],
      beforeRequest: [],
      beforeError: [],
      beforeRedirect: [],
      beforeRetry: [],
      afterResponse: []
    },
    followRedirect: true,
    maxRedirects: 10,
    cache: undefined,
    throwHttpErrors: true,
    username: '',
    password: '',
    http2: false,
    allowGetBody: false,
    headers: {
      'user-agent': 'got (https://github.com/sindresorhus/got)',
      accept: 'application/json',
      'accept-encoding': 'gzip, deflate, br'
    },
    methodRewriting: false,
    dnsLookupIpVersion: undefined,
    parseJson: [Function: parse],
    stringifyJson: [Function: stringify],
    retry: {
      limit: 1,
      methods: [ 'GET' ],
      statusCodes: [
        408, 413, 429, 500,
        502, 503, 504, 521,
        522, 524
      ],
      errorCodes: [
        'ETIMEDOUT',
        'ECONNRESET',
        'EADDRINUSE',
        'ECONNREFUSED',
        'EPIPE',
        'ENOTFOUND',
        'ENETUNREACH',
        'EAI_AGAIN'
      ],
      maxRetryAfter: undefined,
      calculateDelay: [Function: calculateDelay],
      backoffLimit: Infinity,
      noise: 100
    },
    localAddress: undefined,
    method: 'GET',
    createConnection: undefined,
    cacheOptions: {
      shared: undefined,
      cacheHeuristic: undefined,
      immutableMinTimeToLive: undefined,
      ignoreCargoCult: undefined
    },
    https: {
      alpnProtocols: undefined,
      rejectUnauthorized: undefined,
      checkServerIdentity: undefined,
      certificateAuthority: undefined,
      key: undefined,
      certificate: undefined,
      passphrase: undefined,
      pfx: undefined,
      ciphers: undefined,
      honorCipherOrder: undefined,
      minVersion: undefined,
      maxVersion: undefined,
      signatureAlgorithms: undefined,
      tlsSessionLifetime: undefined,
      dhparam: undefined,
      ecdhCurve: undefined,
      certificateRevocationLists: undefined
    },
    encoding: undefined,
    resolveBodyOnly: false,
    isStream: false,
    responseType: 'json',
    url: URL {
      href: 'https://extend.eufylife.com/domain/FR',
      origin: 'https://extend.eufylife.com',
      protocol: 'https:',
      username: '',
      password: '',
      host: 'extend.eufylife.com',
      hostname: 'extend.eufylife.com',
      port: '',
      pathname: '/domain/FR',
      search: '',
      searchParams: URLSearchParams {},
      hash: ''
    },
    pagination: {
      transform: [Function: transform],
      paginate: [Function: paginate],
      filter: [Function: filter],
      shouldContinue: [Function: shouldContinue],
      countLimit: Infinity,
      backoff: 0,
      requestLimit: 10000,
      stackAllItems: false
    },
    setHost: true,
    maxHeaderSize: undefined,
    signal: undefined,
    enableUnixSockets: false
  },
  [cause]: AggregateError [ETIMEDOUT]:
      at internalConnectMultiple (node:net:1122:18)
      at afterConnectMultiple (node:net:1689:7) {
    code: 'ETIMEDOUT',
    [errors]: [
      [Error], [Error],
      [Error], [Error],
      [Error], [Error],
      [Error], [Error]
    ]
  }
}
SECURITY WARNING: Reverting CVE-2023-46809: Marvin attack on PKCS#1 padding
2026-02-12 22:31:33.671 INFO    eufy-security-ws:eufy-security-client   [main] [EufySecurity._initializeInternals] Authentication properties changed, invalidate saved cloud token.
(node:1) [DEP0128] DeprecationWarning: Invalid 'main' field in '/usr/src/app/node_modules/eufy-security-client/build/package.json' of 'build/index.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)

ok ca se précise.
Tu as apparament un problème réseau, cf un pb similaire ici.

Montres moi ta page santé et lances les commandes suivantes:

ifconfig -a
ping -c 3 127.0.0.1
ping -c 3 www.google.fr
netstat -nr
netstat -a|grep 3000

Bonjour Rootard,

C’est possible pour le probléme réseau car j’ai change de box sfr fibre il y a quelques mois.
Je suis maintenant sur une SFR Box 7 Fibre GR120DG ( modèle Sagemcom).

ci joint les infos demandées.

Commande ifconfig -a

br-dc29f576c58f: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.18.0.1  netmask 255.255.0.0  broadcast 172.18.255.255
        inet6 fe80::94c1:8ff:fe89:c4d  prefixlen 64  scopeid 0x20<link>
        ether 96:c1:08:89:0c:4d  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255
        ether 5e:8c:cc:0c:42:d5  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 8 overruns 0  carrier 0  collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.51  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::bc49:e64e:63ba:82f7  prefixlen 64  scopeid 0x20<link>
        inet6 2a02:8428:8051:6701:b3e1:109:4e6b:6ba2  prefixlen 128  scopeid 0x0<global>
        inet6 2a02:8428:8051:6701:91a4:85b1:55b9:19bd  prefixlen 64  scopeid 0x0<global>
        ether 62:bd:bc:5c:b5:6e  txqueuelen 1000  (Ethernet)
        RX packets 633330  bytes 358950585 (342.3 MiB)
        RX errors 0  dropped 5289  overruns 0  frame 0
        TX packets 227025  bytes 148398701 (141.5 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 75

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 1814259  bytes 372879952 (355.6 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1814259  bytes 372879952 (355.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1300
        inet 10.15.56.58  netmask 255.255.255.255  destination 10.15.56.57
        inet6 fe80::ab84:ca66:4d0b:d733  prefixlen 64  scopeid 0x20<link>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 500  (UNSPEC)
        RX packets 1028  bytes 82966 (81.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 914  bytes 238209 (232.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

veth43f9941: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::e804:22ff:fe63:d16b  prefixlen 64  scopeid 0x20<link>
        ether ea:04:22:63:d1:6b  txqueuelen 0  (Ethernet)
        RX packets 17  bytes 1130 (1.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 29  bytes 3321 (3.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.24  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 2a02:8428:8051:6701:8dc5:d9af:8db6:2011  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::c914:f389:455:2ac0  prefixlen 64  scopeid 0x20<link>
        ether d4:9c:dd:8b:b4:b4  txqueuelen 1000  (Ethernet)
        RX packets 259789  bytes 20618433 (19.6 MiB)
        RX errors 0  dropped 4085  overruns 0  frame 0
        TX packets 8033  bytes 836007 (816.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Commande ping -c 3 127.0.0.1

PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.127 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.222 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.197 ms

--- 127.0.0.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2042ms
rtt min/avg/max/mdev = 0.127/0.182/0.222/0.040 ms

Commande ping -c 3 127.0.0.1

PING www.google.fr(par10s21-in-x03.1e100.net (2a00:1450:4007:80d::2003)) 56 data bytes
64 bytes from par10s41-in-x03.1e100.net (2a00:1450:4007:80d::2003): icmp_seq=1 ttl=116 time=11.6 ms
64 bytes from par10s41-in-x03.1e100.net (2a00:1450:4007:80d::2003): icmp_seq=2 ttl=116 time=10.3 ms
64 bytes from par10s41-in-x03.1e100.net (2a00:1450:4007:80d::2003): icmp_seq=3 ttl=116 time=7.40 ms

--- www.google.fr ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 7.400/9.771/11.574/1.750 ms

Commande netstat -nr

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 wlan0
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth0
10.15.0.1       10.15.56.57     255.255.255.255 UGH       0 0          0 tun0
10.15.56.57     0.0.0.0         255.255.255.255 UH        0 0          0 tun0
172.17.0.0      0.0.0.0         255.255.0.0     U         0 0          0 docker0
172.18.0.0      0.0.0.0         255.255.0.0     U         0 0          0 br-dc29f576c58f
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 wlan0
192.168.1.1     0.0.0.0         255.255.255.255 UH        0 0          0 eth0

Commande netstat -an | grep 3000

tcp        0      0 0.0.0.0:3000            0.0.0.0:*               LISTEN
tcp6       0      0 :::3000                 :::*                    LISTEN

Commande netstat -tulpen | grep 3000

tcp        0      0 0.0.0.0:3000            0.0.0.0:*               LISTEN      0          1943660    -
tcp6       0      0 :::3000                 :::*                    LISTEN      0          1943661    -saisissez ou collez du code ici

Commande ss -ltnp | grep 3000

LISTEN 0      4096         0.0.0.0:3000       0.0.0.0:*
LISTEN 0      4096            [::]:3000          [::]:*

ok je pense que j’ai compris. essayes ca:
Vas dans reglages > systeme > editeur de fichiers et ajoutes cette ligne à la fin du fichier plugins/eufy/data/docker-compose.yml

network_mode: host

puis lances ces commandes:

su -
cd /var/www/html/plugins/eufy/resources
./eufy restart
./eufy test

Résultat de la commande ./eufy restart:

eufy action: restart options:
eufy action: stop options:
stopping container  8482341ad640
8482341ad640
eufy action: start options:
starting image bropat/eufy-security-ws
[+] up 1/1
 ✔ Container eufy Created    
                      

Résultat de la commande ./eufy test

eufy action: test options:
test du container: 0ded7ca7f032 options:
python3 path: /usr/bin/python3
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/websockets/http11.py", line 241, in parse
    status_line = yield from parse_line(read_line)
  File "/usr/local/lib/python3.9/dist-packages/websockets/http11.py", line 309, in parse_line
    line = yield from read_line(MAX_LINE_LENGTH)
  File "/usr/local/lib/python3.9/dist-packages/websockets/streams.py", line 46, in read_line
    raise EOFError(f"stream ends after {p} bytes, before end of line")
EOFError: stream ends after 0 bytes, before end of line

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/websockets/client.py", line 301, in parse
    response = yield from Response.parse(
  File "/usr/local/lib/python3.9/dist-packages/websockets/http11.py", line 243, in parse
    raise EOFError("connection closed while reading HTTP status line") from exc
EOFError: connection closed while reading HTTP status line

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/plugins/eufy/resources/../resources/test_eufy.py", line 20, in <module>
    ws = client.connect("ws://" + url)
  File "/usr/local/lib/python3.9/dist-packages/websockets/sync/client.py", line 378, in connect
    connection.handshake(
  File "/usr/local/lib/python3.9/dist-packages/websockets/sync/client.py", line 101, in handshake
    raise self.protocol.handshake_exc
websockets.exceptions.InvalidMessage: did not receive a valid HTTP response

Le retour de copilot pour info

Tu peux remonter à rootard (développeur du plugin) les éléments suivants :

✔ Le conteneur se connecte bien au cloud (curl OK)
✔ Le DNS fonctionne
✔ Le réseau fonctionne
✔ Le docker-compose.yml contient USERNAME/PASSWORD
❌ Le plugin ne génère pas config.json
❌ Le plugin ne génère pas persistent.json
❌ Le plugin n’injecte pas les variables EUFY_*
❌ Le WebSocket refuse la connexion faute de token
✔ Le conteneur se connecte bien au cloud (curl OK)

Vu tes logs j’en suis pas si sur !

Oublies chatGPT ca n’a rien à voir avec le plugin il s’agit du paramétrage du container :wink:

Tu as bien édité le docker-compose.yml?
partages moi le fichier (tu peux anonymiser le passwd ou me le partager en MP)
idem pour eufy/data/store/persistent.json

Ok, peux tu m’indiquer comment partager en MP

cliques sur mon avatar puis envoyer un message direct…attaches les 2 fichiers en ajoutant .txt sinon ca ne passe pas

merci je viens justement de trouver

Salut

Voici la solution pour ceux qui passeront par la: réseau docker changé du mode bridge (défaut) au mode host. J’ai ajouté l’option dans la page de config du plugin

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