[DAEMON][COM][TEST] Callback result as a unknown error: 'Response' object has no attribute 'status'

Bonjour, @TiTidom

J’essais d’installer un nouveau jeedom mais impossible de lancer le demon du plugin TTSCAST.

j’utilise déjà ce plugin sur une config similaire et ça fonctionne sans problème.

page santé :

installation des dépendances :

[2024-04-26 17:49:44] *******************
[2024-04-26 17:49:44] * Check PyEnv Dir *
[2024-04-26 17:49:44] *******************
[2024-04-26 17:49:44] ** PyEnv Directory (None) :: /opt/pyenv **
[2024-04-26 17:49:44] ** Check PyEnv :: Done **
[2024-04-26 17:49:44] ***********************
[2024-04-26 17:49:44] * Check Old PyEnv Dir *
[2024-04-26 17:49:44] ***********************
[2024-04-26 17:49:44] ** PyEnv Old Directory (None) :: /var/www/html/plugins/ttscast/resources/pyenv **
[2024-04-26 17:49:44] ** Venv Update :: Not Needed **
[2024-04-26 17:49:44] ** Check Old PyEnv :: Done **
[2024-04-26 17:49:44] ******************
[2024-04-26 17:49:44] * Update apt-get *
[2024-04-26 17:49:44] ******************
[2024-04-26 17:49:44] ** Clean apt-get :: Done **
[2024-04-26 17:49:44] Hit:1 http://deb.debian.org/debian bookworm InRelease
[2024-04-26 17:49:44] Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
[2024-04-26 17:49:44] Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
[2024-04-26 17:49:44] Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
[2024-04-26 17:49:45] Hit:5 http://archive.raspberrypi.com/debian bookworm InRelease
[2024-04-26 17:49:48] Reading package lists...
[2024-04-26 17:49:48] ** Update apt-get :: Done **
[2024-04-26 17:49:48] ****************************
[2024-04-26 17:49:48] * Simulate apt-get upgrade *
[2024-04-26 17:49:48] ****************************
[2024-04-26 17:49:48] Reading package lists...
[2024-04-26 17:49:49] Building dependency tree...
[2024-04-26 17:49:49] Reading state information...
[2024-04-26 17:49:49] Calculating upgrade...
[2024-04-26 17:49:49] 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[2024-04-26 17:49:49] ** Upgrade Simulation :: Done **
[2024-04-26 17:49:49] ****************************************
[2024-04-26 17:49:49] * Install apt-get packages for Python3 *
[2024-04-26 17:49:49] ****************************************
[2024-04-26 17:49:49] Reading package lists...
[2024-04-26 17:49:50] Building dependency tree...
[2024-04-26 17:49:50] Reading state information...
[2024-04-26 17:49:50] python3 is already the newest version (3.11.2-1+b1).
[2024-04-26 17:49:50] python3-requests is already the newest version (2.28.1+dfsg-1).
[2024-04-26 17:49:50] python3-requests set to manually installed.
[2024-04-26 17:49:50] python3-pip is already the newest version (23.0.1+dfsg-1+rpt1).
[2024-04-26 17:49:50] python3-setuptools is already the newest version (66.1.1-1).
[2024-04-26 17:49:50] python3-setuptools set to manually installed.
[2024-04-26 17:49:50] python3-dev is already the newest version (3.11.2-1+b1).
[2024-04-26 17:49:50] python3-dev set to manually installed.
[2024-04-26 17:49:50] python3-venv is already the newest version (3.11.2-1+b1).
[2024-04-26 17:49:50] 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[2024-04-26 17:49:50] ** Install packages for Python3 :: Done **
[2024-04-26 17:49:50] ***************************
[2024-04-26 17:49:50] * Check Python3.x Version *
[2024-04-26 17:49:50] ***************************
[2024-04-26 17:49:50] Python3.x Version :: 3.11
[2024-04-26 17:49:50] ** Check Python3 Version :: Done **
[2024-04-26 17:49:50] *********************
[2024-04-26 17:49:50] * PyEnv Environment *
[2024-04-26 17:49:50] *********************
[2024-04-26 17:49:50] ** PyEnv not required (Python >= 3.11) **
[2024-04-26 17:49:50] **************************
[2024-04-26 17:49:50] * Create Python3.11 venv *
[2024-04-26 17:49:50] **************************
[2024-04-26 17:50:00] ** Create Python3.11 Venv :: Done **
[2024-04-26 17:50:00] *****************************
[2024-04-26 17:50:00] * Install Python3 libraries *
[2024-04-26 17:50:00] *****************************
[2024-04-26 17:50:00] Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
[2024-04-26 17:50:00] Requirement already satisfied: pip in ./venv/lib/python3.11/site-packages (24.0)
[2024-04-26 17:50:01] Collecting wheel
[2024-04-26 17:50:01] Downloading https://www.piwheels.org/simple/wheel/wheel-0.43.0-py3-none-any.whl (65 kB)
[2024-04-26 17:50:01] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.8/65.8 kB 234.8 kB/s eta 0:00:00
[2024-04-26 17:50:02] Installing collected packages: wheel
[2024-04-26 17:50:02] Successfully installed wheel-0.43.0
[2024-04-26 17:50:03] ** Install Pip / Wheel :: Done **
[2024-04-26 17:50:03] Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
[2024-04-26 17:50:04] Collecting PyChromecast==14.0.1
[2024-04-26 17:50:04] Downloading https://www.piwheels.org/simple/pychromecast/PyChromecast-14.0.1-py2.py3-none-any.whl (75 kB)
[2024-04-26 17:50:04] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.6/75.6 kB 277.9 kB/s eta 0:00:00
[2024-04-26 17:50:04] Collecting google-cloud-texttospeech==2.16.3
[2024-04-26 17:50:04] Downloading https://www.piwheels.org/simple/google-cloud-texttospeech/google_cloud_texttospeech-2.16.3-py2.py3-none-any.whl (151 kB)
[2024-04-26 17:50:04] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 152.0/152.0 kB 955.7 kB/s eta 0:00:00
[2024-04-26 17:50:05] Collecting gTTS==2.5.1
[2024-04-26 17:50:05] Downloading https://www.piwheels.org/simple/gtts/gTTS-2.5.1-py3-none-any.whl (29 kB)
[2024-04-26 17:50:05] Collecting protobuf>=4.25.1 (from PyChromecast==14.0.1)
[2024-04-26 17:50:05] Downloading protobuf-5.26.1-cp37-abi3-manylinux2014_aarch64.whl.metadata (592 bytes)
[2024-04-26 17:50:06] Collecting zeroconf>=0.25.1 (from PyChromecast==14.0.1)
[2024-04-26 17:50:06] Downloading zeroconf-0.132.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (6.0 kB)
[2024-04-26 17:50:06] Collecting casttube>=0.2.0 (from PyChromecast==14.0.1)
[2024-04-26 17:50:06] Downloading https://www.piwheels.org/simple/casttube/casttube-0.2.1-py3-none-any.whl (6.5 kB)
[2024-04-26 17:50:07] Collecting google-api-core!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1 (from google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1->google-cloud-texttospeech==2.16.3)
[2024-04-26 17:50:07] Downloading https://www.piwheels.org/simple/google-api-core/google_api_core-2.18.0-py3-none-any.whl (138 kB)
[2024-04-26 17:50:07] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.3/138.3 kB 861.3 kB/s eta 0:00:00
[2024-04-26 17:50:07] Collecting google-auth!=2.24.0,!=2.25.0,<3.0.0dev,>=2.14.1 (from google-cloud-texttospeech==2.16.3)
[2024-04-26 17:50:07] Downloading https://www.piwheels.org/simple/google-auth/google_auth-2.29.0-py2.py3-none-any.whl (189 kB)
[2024-04-26 17:50:07] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 189.2/189.2 kB 1.2 MB/s eta 0:00:00
[2024-04-26 17:50:07] Collecting proto-plus<2.0.0dev,>=1.22.3 (from google-cloud-texttospeech==2.16.3)
[2024-04-26 17:50:08] Downloading https://www.piwheels.org/simple/proto-plus/proto_plus-1.23.0-py3-none-any.whl (48 kB)
[2024-04-26 17:50:08] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.8/48.8 kB 520.2 kB/s eta 0:00:00
[2024-04-26 17:50:08] Collecting protobuf>=4.25.1 (from PyChromecast==14.0.1)
[2024-04-26 17:50:08] Downloading protobuf-4.25.3-cp37-abi3-manylinux2014_aarch64.whl.metadata (541 bytes)
[2024-04-26 17:50:08] Collecting requests<3,>=2.27 (from gTTS==2.5.1)
[2024-04-26 17:50:08] Downloading https://www.piwheels.org/simple/requests/requests-2.31.0-py3-none-any.whl (62 kB)
[2024-04-26 17:50:08] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 844.2 kB/s eta 0:00:00
[2024-04-26 17:50:08] Collecting click<8.2,>=7.1 (from gTTS==2.5.1)
[2024-04-26 17:50:08] Downloading https://www.piwheels.org/simple/click/click-8.1.7-py3-none-any.whl (97 kB)
[2024-04-26 17:50:08] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 1.4 MB/s eta 0:00:00
[2024-04-26 17:50:09] Collecting googleapis-common-protos<2.0.dev0,>=1.56.2 (from google-api-core!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1->google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1->google-cloud-texttospeech==2.16.3)
[2024-04-26 17:50:09] Downloading https://www.piwheels.org/simple/googleapis-common-protos/googleapis_common_protos-1.63.0-py2.py3-none-any.whl (229 kB)
[2024-04-26 17:50:09] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 229.1/229.1 kB 3.0 MB/s eta 0:00:00
[2024-04-26 17:50:10] Collecting grpcio<2.0dev,>=1.33.2 (from google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1->google-cloud-texttospeech==2.16.3)
[2024-04-26 17:50:10] Downloading grpcio-1.62.2-cp311-cp311-manylinux_2_17_aarch64.whl.metadata (4.0 kB)
[2024-04-26 17:50:10] Collecting grpcio-status<2.0.dev0,>=1.33.2 (from google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1->google-cloud-texttospeech==2.16.3)
[2024-04-26 17:50:10] Downloading https://www.piwheels.org/simple/grpcio-status/grpcio_status-1.62.2-py3-none-any.whl (14 kB)
[2024-04-26 17:50:10] Collecting cachetools<6.0,>=2.0.0 (from google-auth!=2.24.0,!=2.25.0,<3.0.0dev,>=2.14.1->google-cloud-texttospeech==2.16.3)
[2024-04-26 17:50:10] Downloading https://www.piwheels.org/simple/cachetools/cachetools-5.3.3-py3-none-any.whl (9.3 kB)
[2024-04-26 17:50:11] Collecting pyasn1-modules>=0.2.1 (from google-auth!=2.24.0,!=2.25.0,<3.0.0dev,>=2.14.1->google-cloud-texttospeech==2.16.3)
[2024-04-26 17:50:11] Downloading https://www.piwheels.org/simple/pyasn1-modules/pyasn1_modules-0.4.0-py3-none-any.whl (181 kB)
[2024-04-26 17:50:11] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.2/181.2 kB 1.1 MB/s eta 0:00:00
[2024-04-26 17:50:11] Collecting rsa<5,>=3.1.4 (from google-auth!=2.24.0,!=2.25.0,<3.0.0dev,>=2.14.1->google-cloud-texttospeech==2.16.3)
[2024-04-26 17:50:11] Downloading rsa-4.9-py3-none-any.whl.metadata (4.2 kB)
[2024-04-26 17:50:11] Collecting charset-normalizer<4,>=2 (from requests<3,>=2.27->gTTS==2.5.1)
[2024-04-26 17:50:11] Downloading charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (33 kB)
[2024-04-26 17:50:11] Collecting idna<4,>=2.5 (from requests<3,>=2.27->gTTS==2.5.1)
[2024-04-26 17:50:12] Downloading https://www.piwheels.org/simple/idna/idna-3.7-py3-none-any.whl (66 kB)
[2024-04-26 17:50:12] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 kB 8.7 MB/s eta 0:00:00
[2024-04-26 17:50:12] Collecting urllib3<3,>=1.21.1 (from requests<3,>=2.27->gTTS==2.5.1)
[2024-04-26 17:50:12] Downloading https://www.piwheels.org/simple/urllib3/urllib3-2.2.1-py3-none-any.whl (121 kB)
[2024-04-26 17:50:12] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.1/121.1 kB 1.7 MB/s eta 0:00:00
[2024-04-26 17:50:12] Collecting certifi>=2017.4.17 (from requests<3,>=2.27->gTTS==2.5.1)
[2024-04-26 17:50:12] Downloading https://www.piwheels.org/simple/certifi/certifi-2024.2.2-py3-none-any.whl (163 kB)
[2024-04-26 17:50:12] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.8/163.8 kB 2.2 MB/s eta 0:00:00
[2024-04-26 17:50:12] Collecting ifaddr>=0.1.7 (from zeroconf>=0.25.1->PyChromecast==14.0.1)
[2024-04-26 17:50:12] Downloading https://www.piwheels.org/simple/ifaddr/ifaddr-0.2.0-py3-none-any.whl (12 kB)
[2024-04-26 17:50:13] Collecting pyasn1<0.7.0,>=0.4.6 (from pyasn1-modules>=0.2.1->google-auth!=2.24.0,!=2.25.0,<3.0.0dev,>=2.14.1->google-cloud-texttospeech==2.16.3)
[2024-04-26 17:50:13] Downloading https://www.piwheels.org/simple/pyasn1/pyasn1-0.6.0-py2.py3-none-any.whl (85 kB)
[2024-04-26 17:50:13] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.3/85.3 kB 1.1 MB/s eta 0:00:00
[2024-04-26 17:50:13] Downloading protobuf-4.25.3-cp37-abi3-manylinux2014_aarch64.whl (293 kB)
[2024-04-26 17:50:13] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 293.7/293.7 kB 16.8 MB/s eta 0:00:00
[2024-04-26 17:50:13] Downloading zeroconf-0.132.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.3 MB)
[2024-04-26 17:50:13] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 53.5 MB/s eta 0:00:00
[2024-04-26 17:50:13] Downloading charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (136 kB)
[2024-04-26 17:50:13] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 136.6/136.6 kB 31.2 MB/s eta 0:00:00
[2024-04-26 17:50:13] Downloading grpcio-1.62.2-cp311-cp311-manylinux_2_17_aarch64.whl (5.3 MB)
[2024-04-26 17:50:13] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 78.5 MB/s eta 0:00:00
[2024-04-26 17:50:13] Downloading rsa-4.9-py3-none-any.whl (34 kB)
[2024-04-26 17:50:13] Installing collected packages: ifaddr, zeroconf, urllib3, pyasn1, protobuf, idna, grpcio, click, charset-normalizer, certifi, cachetools, rsa, requests, pyasn1-modules, proto-plus, googleapis-common-protos, gTTS, grpcio-status, google-auth, casttube, PyChromecast, google-api-core, google-cloud-texttospeech
[2024-04-26 17:50:15] Successfully installed PyChromecast-14.0.1 cachetools-5.3.3 casttube-0.2.1 certifi-2024.2.2 charset-normalizer-3.3.2 click-8.1.7 gTTS-2.5.1 google-api-core-2.18.0 google-auth-2.29.0 google-cloud-texttospeech-2.16.3 googleapis-common-protos-1.63.0 grpcio-1.62.2 grpcio-status-1.62.2 idna-3.7 ifaddr-0.2.0 proto-plus-1.23.0 protobuf-4.25.3 pyasn1-0.6.0 pyasn1-modules-0.4.0 requests-2.31.0 rsa-4.9 urllib3-2.2.1 zeroconf-0.132.2
[2024-04-26 17:50:16] ** Install Python3 librairies :: Done **
[2024-04-26 17:50:16] ****************************
[2024-04-26 17:50:16] * Set Owner on Directories *
[2024-04-26 17:50:16] ****************************
[2024-04-26 17:50:16] ** Set Owner for Venv Dir :: Done **
[2024-04-26 17:50:16] ****************
[2024-04-26 17:50:16] * Install DONE *
[2024-04-26 17:50:16] ****************

log debug :

[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] Start Daemon
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] Plugin Version: 1.2.3
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] Log level: debug
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] Socket port: 55111
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] Socket host: localhost
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] CycleFactor: 1.0
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] CycleMain: 2.0
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] CycleComm: 0.5
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] CycleEvent: 0.5
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] PID file: /tmp/jeedom/ttscast/deamon.pid
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] ApiKey: ***
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] ApiTTSKey: ***
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] Google Cloud ApiKey: noKey
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] VoiceRSS ApiKey: ***
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] App Disable Ding: False
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] Cmd Wait Timeout: 60
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] CallBack: http://127.0.0.1:80/plugins/ttscast/core/php/jeettscast.php
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] Jeedom WebSrvCache: http://192.168.1.127/plugins/ttscast/data/cache/
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] Jeedom WebSrvMedia: http://192.168.1.127/plugins/ttscast/data/media/
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] Jeedom WebSrvImages: http://192.168.1.127/plugins/ttscast/data/images/
[2024-04-26 18:25:03][INFO] : [DAEMON][MAIN] Jeedom WebSrvJeeTTS: http://192.168.1.127/core/api/
[2024-04-26 18:25:03][DEBUG] : [DAEMON][UTILS] Writing PID 8050 to /tmp/jeedom/ttscast/deamon.pid
[2024-04-26 18:25:03][INFO] : [DAEMON][COM] Init request module v2.31.0
[2024-04-26 18:25:03][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2024-04-26 18:25:03][DEBUG] : http://127.0.0.1:80 "GET /plugins/ttscast/core/php/jeettscast.php?apikey=xxxx HTTP/1.1" 403 199
[2024-04-26 18:25:03][ERROR] : [DAEMON][COM][TEST] Callback result as a unknown error: 'Response' object has no attribute 'status'. Please check your network configuration page
[2024-04-26 18:25:03][ERROR] : [DAEMON][JEEDOMCOM] sendToJeedom :: Network communication ERROR (Daemon to Jeedom)
[2024-04-26 18:25:03][INFO] : [DAEMON] Shutdown :: Begin...
[2024-04-26 18:25:03][INFO] : [DAEMON] Shutdown :: Devices Disconnect :: Begin...
[2024-04-26 18:25:03][INFO] : [DAEMON] Shutdown :: Devices Disconnect :: OK
[2024-04-26 18:25:03][ERROR] : [DAEMON] Exception on Shutdown :: 'NoneType' object has no attribute 'stop_discovery'
[2024-04-26 18:25:03][DEBUG] : Traceback (most recent call last):
  File "/var/www/html/plugins/ttscast/resources/ttscastd/ttscastd.py", line 1792, in shutdown
    Config.NETCAST_BROWSER.stop_discovery()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'stop_discovery'

[2024-04-26 18:25:03][DEBUG] : [DAEMON] Removing PID file /tmp/jeedom/ttscast/deamon.pid
[2024-04-26 18:25:03][INFO] : [DAEMON] Shutdown :: Exit 0

Je vois bien qu’il y a une erreur de communication reseau mais je ne vois pas d’où vient le problème…

page congig reseau

Merci par avance pour votre aide…

Aussi sur une debian 12 aussi ?

Bonsoir @sodaveli,

Déjà merci pour les logs et les captures d’écran, ca aide bien ! :wink:

Ensuite, en effet, bizarre ton problème :open_mouth:

On voit dans cette ligne des logs que la requête de tests de communication entre le démon et jeedom est refusée (erreur « 403 »)

Et du coup de cette ligne forcément, que ce qu’il attend comme résultat n’arrive jamais…

Pourrais tu me donner la capture d’écran dans la configuration de Jeedom, de la page « API » ? Cette page devrait ressembler à ca :

Et voir du coup dans cette page, si la partie « Clé API : TTSCast » est bien remplie et bien indiquée comme « Activée » ?

TiTidom.

Bonsoir @Jeandhom,

J’ai vu en effet qu’il tourne sur un Debian 12, ce qui n’est pas une config conseillée pour l’instant, mais à des fins de tests, et pour info, j’ai un Jeedom qui tourne sur Debian 12, et TTSCast est installé dessus, fonctionnel, et je teste chaque nouvelle version du plugin dessus (en plus de Debian 10 et 11).

Donc à première vue, je ne pense pas que cela vienne spécifiquement du Debian 12 (en tout cas en ce qui concerne le plugin, mais il y a peut être des effets de bords ailleurs dans Jeedom)

TiTidom

1 « J'aime »

oui, tout à fait, il fonctionne parfaitement sur debian 12

1 « J'aime »

Merci pour vos retours,

la clé API est bien activée et remplie oui

Re,

J’ai vérifié tes logs d’install : à quelques lignes prêt (détails), elles me paraissent clean et tout s’installe bien, donc ca vient pas de là.

J’ai désinstallé sur mon Jeedom qui tourne sous Debian 12 TTSCast et réinstallé de zéro, ca s’installe et ca démarre sans broncher.

Donc là à première vue, c’est un problème soit avec le module « requests » (un module standard de python, c’est lui qui lance la requête vers Jeedom) et/ou Jeedom qui refuse la requête pour je ne sais quelle raison.

Dans les logs de Jeedom, il n’y a rien qui pourrait indiquer qqch ? (par exemple dans les logs http.error ou api ? autre ?)

Dans les logs TTSCast (pas le démon, mais le plugin), il y a quoi ?

Pas de firewall activé sur ce Raspberry pi 5 ?

Une commande particulière lancée au niveau linux avant d’essayer de mettre en place TTSCast ?

TiTidom.

Bonsoir,

Peux tu tester dans un navigateur sur ton poste l’url suivante :

http://192.168.1.127:80/plugins/ttscast/core/php/jeettscast.php?apikey=xxxx&test=1

En remplacant les « xxxx » qui se trouvent après « ?apikey= » par la valeur de ton api key TTSCast :slight_smile:

le résultat si ca fonctionne doit être « OK » affiché sur la page. (grosso modo, c’est le test que lance le démon au démarrage pour valider qu’il communique bien avec Jeedom, que j’ai adapté pour qu’il puisse se lancer directement depuis ton navigateur)

TiTidom

Merci pour ton aide,

voici les log http.error :

0000|Created directory: /var/lib/snmp/cert_indexes
0001|[Fri Apr 26 17:36:35.420717 2024] [mpm_prefork:notice] [pid 40445] AH00163: Apache/2.4.59 (Debian) configured -- resuming normal operations
0002|[Fri Apr 26 17:36:35.420940 2024] [core:notice] [pid 40445] AH00094: Command line: '/usr/sbin/apache2'
0003|[Fri Apr 26 17:42:37.676967 2024] [mpm_prefork:notice] [pid 40445] AH00170: caught SIGWINCH, shutting down gracefully
0004|[Fri Apr 26 17:42:57.285228 2024] [mpm_prefork:notice] [pid 874] AH00163: Apache/2.4.59 (Debian) configured -- resuming normal operations
0005|[Fri Apr 26 17:42:57.286088 2024] [core:notice] [pid 874] AH00094: Command line: '/usr/sbin/apache2'
0006|[Fri Apr 26 17:51:39.632547 2024] [access_compat:error] [pid 977] [client 127.0.0.1:47928] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0007|[Fri Apr 26 17:52:31.534080 2024] [access_compat:error] [pid 1934] [client 127.0.0.1:47986] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0008|[Fri Apr 26 17:55:03.965259 2024] [access_compat:error] [pid 3451] [client 127.0.0.1:47754] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0009|ls: cannot access '/tmp/jeedom_install_in_progress*': No such file or directory
0010|warning: commands will be executed using /bin/sh
0011|job 2 at Fri Apr 26 17:55:00 2024
0012|[Fri Apr 26 18:00:04.623071 2024] [access_compat:error] [pid 3451] [client 127.0.0.1:45290] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0013|[Fri Apr 26 18:05:03.291083 2024] [access_compat:error] [pid 974] [client 127.0.0.1:59090] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0014|[Fri Apr 26 18:10:03.265361 2024] [access_compat:error] [pid 1855] [client 127.0.0.1:55528] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0015|[Fri Apr 26 18:15:03.251447 2024] [access_compat:error] [pid 1865] [client 127.0.0.1:37526] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0016|[Fri Apr 26 18:20:03.313405 2024] [access_compat:error] [pid 3717] [client 127.0.0.1:45956] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0017|[Fri Apr 26 18:25:03.232785 2024] [access_compat:error] [pid 1934] [client 127.0.0.1:38434] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0018|[Fri Apr 26 18:30:03.469765 2024] [access_compat:error] [pid 973] [client 127.0.0.1:40554] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0019|[Fri Apr 26 18:35:03.363972 2024] [access_compat:error] [pid 974] [client 127.0.0.1:48782] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0020|[Fri Apr 26 18:40:03.333900 2024] [access_compat:error] [pid 3717] [client 127.0.0.1:38792] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0021|[Fri Apr 26 18:45:03.326696 2024] [access_compat:error] [pid 973] [client 127.0.0.1:50272] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0022|[Fri Apr 26 18:50:03.374017 2024] [access_compat:error] [pid 1935] [client 127.0.0.1:34174] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0023|[Fri Apr 26 18:55:03.246482 2024] [access_compat:error] [pid 1855] [client 127.0.0.1:38432] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0024|[Fri Apr 26 19:00:03.535201 2024] [access_compat:error] [pid 3717] [client 127.0.0.1:39388] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0025|[Fri Apr 26 19:05:03.505752 2024] [access_compat:error] [pid 975] [client 127.0.0.1:40942] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0026|[Fri Apr 26 19:10:03.475463 2024] [access_compat:error] [pid 973] [client 127.0.0.1:36760] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0027|[Fri Apr 26 19:15:03.477682 2024] [access_compat:error] [pid 3451] [client 127.0.0.1:60176] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0028|[Fri Apr 26 19:20:03.543457 2024] [access_compat:error] [pid 9395] [client 127.0.0.1:45214] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0029|[Fri Apr 26 19:25:03.483707 2024] [access_compat:error] [pid 974] [client 127.0.0.1:45900] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0030|[Fri Apr 26 19:30:03.679421 2024] [access_compat:error] [pid 1855] [client 127.0.0.1:55930] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0031|[Fri Apr 26 19:35:03.675512 2024] [access_compat:error] [pid 1865] [client 127.0.0.1:52870] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0032|[Fri Apr 26 19:40:03.584430 2024] [access_compat:error] [pid 975] [client 127.0.0.1:41522] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0033|[Fri Apr 26 19:45:03.575491 2024] [access_compat:error] [pid 975] [client 127.0.0.1:56290] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0034|[Fri Apr 26 19:50:03.618001 2024] [access_compat:error] [pid 9395] [client 127.0.0.1:51720] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0035|[Fri Apr 26 19:55:03.559556 2024] [access_compat:error] [pid 1865] [client 127.0.0.1:57110] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0036|[Fri Apr 26 20:00:03.838028 2024] [access_compat:error] [pid 3717] [client 127.0.0.1:57948] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0037|[Fri Apr 26 20:05:03.731604 2024] [access_compat:error] [pid 974] [client 127.0.0.1:41998] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0038|[Fri Apr 26 20:10:03.685546 2024] [access_compat:error] [pid 9395] [client 127.0.0.1:46796] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0039|[Fri Apr 26 20:15:03.728983 2024] [access_compat:error] [pid 1865] [client 127.0.0.1:58878] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0040|[Fri Apr 26 20:17:03.553787 2024] [access_compat:error] [pid 974] [client 127.0.0.1:51776] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0041|[Fri Apr 26 20:18:02.884543 2024] [access_compat:error] [pid 9395] [client 127.0.0.1:49554] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0042|[Fri Apr 26 20:19:03.220675 2024] [access_compat:error] [pid 3717] [client 127.0.0.1:40776] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php
0043|[Fri Apr 26 20:20:04.002803 2024] [access_compat:error] [pid 21805] [client 127.0.0.1:34400] AH01797: client denied by server configuration: /var/www/html/plugins/ttscast/core/php/jeettscast.php

rien de plus… en tout cas je ne vois pas…

Ok, déjà ça cause de ton problème ces logs, pour bcp elles sont liées à ton problème :

Je vais regarder ce que je peux trouver sur ce type de message d’erreur.

Si cela parle à quelqu’un, toute aide sera la bienvenue :slightly_smiling_face:

TiTidom.

Re,

Tu as pu lancé la commande dans ton navigateur?

Sinon :

comment as tu configuré le serveur Apache? Tu as configuré quelque chose de spécifique? (Vhost, htaccess, etc…)

Car ce type d’erreur a un lien avec la config Apache et les fichiers .htaccess qui sont utilisés pour sécuriser des répertoires de jeedom et des plugins.

TiTidom.

Rien de tout ça mais j’ai trouvé comment le lancer !

Pour commencer l’installation, j’avais désactivé le wifi et le BT du raspi. Ensuite, je l’avais connecté sur un switch qui se trouve derrière ma TV.

En regardant les connexions réseau de ma box, j’ai constaté que les appareils connectés à ce switch sont également connectés sur un répéteur free POP qui lui même est connecté en filaire mais qui (je pensais) devait servir juste de répéteur wifi…

Un petit schémat s’impose :rofl: :

j’ai donc simplement déplacé le raspi pour le connecter directement sur la box et ça fonctionne…

Eh beh, quelle histoire :crazy_face: En effet avec un schéma c’est plus clair !

Tant mieux si tout fonctionne en tout cas :wink: :+1:

Bonne fin de soirée,
TiTidom.

C’est moi qui te remercie pour ton aide :slight_smile:

bonne soirée également et bon week-end !

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