Bonjour,
cela fait maintenant plusieurs mois que je rencontre des problèmes de connexion de mon PC vers HA ou de mon tel vers HA.
J’avais déjà posté un post ici: Pb de connection influxdb alors que tout fonctionne pensant que influxdb posait problème. J’ai donc désactivé influxdb, grafana et toujours le même problème. Le soucis c’est que pour récupérer la connexion je suis obligé de couper l’alimentation de mon raspberry et de le rebrancher. Après qq minutes tout est redevu dans l’ordre.
Je me suis donc penché sur Duckdns pensant que le pb venait de là et j’ai suivi le post de @McFly ici :Accéder a Home Assistant depuis l’extérieur en HTTPS avec un NDD Freebox et Let's Encrypt .
Je rencontre encore le problème de déconnexion aléatoire mais le problème c’est que une fois rebooté, le journal est remis à zéro et je ne ais pas comment identifier l’origine du problème…comme on peut le voir ci dessous sur la capture il semble que HA plante puisque les données ne sont plus enregistrées…
quelqu’un pourrait il avoir la gentillesse de m’aiguiller afin de résoudre le PB??
merci
Ma configuration
System Information
version
core-2024.1.5
installation_type
Home Assistant OS
dev
false
hassio
true
docker
true
user
root
virtualenv
false
python_version
3.11.6
os_name
Linux
os_version
6.1.63-haos-raspi
arch
aarch64
timezone
Europe/Paris
config_dir
/config
Home Assistant Community Store
GitHub API
ok
GitHub Content
ok
GitHub Web
ok
GitHub API Calls Remaining
5000
Installed Version
1.34.0
Stage
running
Available Repositories
1388
Downloaded Repositories
62
Home Assistant Cloud
logged_in
false
can_reach_cert_server
ok
can_reach_cloud_auth
ok
can_reach_cloud
ok
Home Assistant Supervisor
host_os
Home Assistant OS 11.4
update_channel
stable
supervisor_version
supervisor-2023.12.1
agent_version
1.6.0
docker_version
24.0.7
disk_total
109.3 GB
disk_used
22.3 GB
healthy
true
supported
true
board
rpi4-64
supervisor_api
ok
version_api
ok
installed_addons
File editor (5.7.0), Duck DNS (1.15.0), InfluxDB (5.0.0), Grafana (9.1.2), Terminal & SSH (9.8.1), Mosquitto broker (6.4.0), Samba share (12.2.0), deCONZ (6.22.0), Studio Code Server (5.15.0), MyElectricalData (0.9.3), RTSP Simple Server Add-on (v0.17.6), eufy-security-ws (1.7.1), SomfyProtect2MQTT (2024.1.0), NGINX Home Assistant SSL proxy (3.7.0), MyElectricalData Dev (0.9.4b3), Let’s Encrypt (5.0.12)
Déja si tu suspectes un plantage HA, est-ce que HA est encore accessible en local quand tu n’as plus l’accès distant ?
Tu as activé l’IPV4 full stack chez Free ?
je suspecte un plantage ha mais je n’en suis pas sure… L’IPV4 full stack chez Free est bien activé depuis au moins 4 ans…mais je ne vois pas le rapport. Par ailleurs l’accès en local via http://monIPlocale:8123 n’a jamais fonctionné avec un certificat installé (duckdns ou lets encrypt via NDD freebox) uniquement en https://monIPlocale:8123. Là aussi j’ai du mal à voir le lien avec mon soucis. Cela peut vraiment bien fonctionner pendant 3 jours puis tout à coup plus de connexion ni en https ni en http…je tourne en rond
Bonjour @AlexHass ,
je me permets de venir vers toi au regard de ton expérience sur ce réseau. J’ rencontre trés régulièremrent et de plus en plus de problème de connexion sur HA. de ce type
Cela devient véritablement agacant et je pense avoir tout essayé:
désinstaller influxdb et grafana;
passer de duckdns à NDD free + let’s encrypt;
3.passer par une autre solution de type zerotiers qui fonctionne bien mais toujours le même pb
le problème est que pour récupérer cette connexion je suis obligé d’éteindre l’alimentation du raspberry et le rallumer via une prise connectée. Là où je tourne en rond c’est que le reboot me fait perdre les logs et du coup je n’arrive pas à identifier la source du pb…peut être un addon ?? bref, j’ai besoin de ton « expertise » pour essayer de sortir de cette impasse.
pour commencer, il y a t ilo un moyen de conserver les logs et y accéder aprés reboot ?? ce serait déjà une première piste pour identifier l’origine du pb… en ce moment je perds la connexion 2 fois par jour!! c’est lourd. A l’instant je viens de la perdre alors que je suis tranquillement à la maison. bref je me tire des balles .
merci d’avance pour ton aide.
PS: je ping le NDD et l’adresse IP sans pb depuis windows…
De base si la « résolution » de ton souci c’est de rebooter ta machine, ça n’évoque pas un souci de Free de SSL ou de Réseau… mais bien de machine.
Le premier indice est ce qu’évoquait @vincen : quand tu n’arrives plus à te connecter, si ta base de données n’enregistre plus rien, comme semble indiquer ton screenshot… ça veut dire que c’est la machine qui est plantée.
Pour tester, je sais que c’est chiant, mais je stopperais complètement les add-ons suivants qui je pense peuvent être lourds:
Grafana+influx
StudioCode
RTSP
Eufy
Juste pour voir ce que ça donne pendant quelques jours.
Au aussi éviter de faire des changements de conf réseau qui n’ont rien à voir avec tes soucis, pour éviter d’augmenter inutilement le nombre de variables dans tes tests
Merci de ton aide et de ta répnse rapide. Grafana et influx étaient déjà coupés ainsi que studio. Je viens de couper RTSP. je laisse passer jusqu’au prochain plantage selon tes propositions.
Je vois que tu as le terminal aussi d’installé.
Il y a une infime chance de voir s’il y a eu de infos dans le journal avant dernier crash.
En ouvrant l’interface web terminal, tu fais « cd /config ».
Avec la commande « ls » devrais y voir un fichier « home-assistant.log.1 »
C’est normalement le fichier de journal de HA avant la dernier reboot ou crash…
En faisant « cat home-assistant.log.1 » il faut voir s’il y a des entrées aux heures où ça a planté et si quelque chose semble louche.
bonjour @AlexHass
Bon je pensais que désactiver rtsp aller résoudre le problème car depuis tout allait très bien jusqu’à maintenant…
même message de connexion sur l’écran HA
et lorsque je vais dans l’explorateur windows pour aller chercher le fichier log1 , message d’erreur
le ping de l’adresse ip et le ping du NDD frebox fonctionnent parfaitement…
du coup j’ai fait une capture du fichier log1 aprés redémarrage, et voici son contenu:
2024-02-15 06:40:04.597 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tesla_custom which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-15 06:40:04.600 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration solar_optimizer which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-15 06:40:04.603 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-15 06:40:04.608 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration fontawesome which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-15 06:40:04.611 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration bhyve which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-15 06:40:04.614 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration multiscrape which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-15 06:40:04.617 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration vigieau which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-15 06:40:04.619 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration meross_lan which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-15 06:40:04.622 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration browser_mod which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-15 06:40:04.624 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration prixCarburant which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-15 06:40:04.626 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration eufy_security which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-15 06:40:04.629 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration scheduler which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-15 06:40:04.631 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration rtetempo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-02-15 06:40:09.929 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2024-02-15 06:40:10.005 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=80 from 2024-02-14 15:07:56.605358)
2024-02-15 06:40:23.492 WARNING (MainThread) [homeassistant.setup] Setup of hassio is taking over 10 seconds.
2024-02-15 06:40:23.493 WARNING (MainThread) [homeassistant.setup] Setup of bluetooth is taking over 10 seconds.
2024-02-15 06:40:23.693 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /homeassistant/options request
2024-02-15 06:40:36.332 WARNING (MainThread) [homeassistant.setup] Setup of group is taking over 10 seconds.
2024-02-15 06:40:36.333 WARNING (MainThread) [homeassistant.setup] Setup of timer is taking over 10 seconds.
2024-02-15 06:40:36.334 WARNING (MainThread) [homeassistant.setup] Setup of zone is taking over 10 seconds.
2024-02-15 06:40:36.338 WARNING (MainThread) [homeassistant.components.meteo_france] 1 hour rain forecast not available. Pérols - Languedoc-Roussillon (34) - FR is not in covered zone
2024-02-15 06:40:39.080 WARNING (MainThread) [homeassistant.setup] Setup of multiscrape is taking over 10 seconds.
2024-02-15 06:40:39.561 WARNING (MainThread) [homeassistant.setup] Setup of input_datetime is taking over 10 seconds.
2024-02-15 06:40:39.561 WARNING (MainThread) [homeassistant.setup] Setup of input_boolean is taking over 10 seconds.
2024-02-15 06:40:46.099 WARNING (MainThread) [homeassistant.components.freebox.router] Home access is not granted
2024-02-15 06:40:47.129 WARNING (MainThread) [pyoverkiz.enums.ui] Unsupported value CyclicSlidingGateOpener has been returned for <enum 'UIWidget'>
2024-02-15 06:40:47.804 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform seventeentrack is taking over 10 seconds.
2024-02-15 06:40:52.025 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.tesla_custom.climate.TeslaCarClimate'>) implements HVACMode(s): heat_cool, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/alandtse/tesla/issues
2024-02-15 06:41:16.241 ERROR (MainThread) [homeassistant.components.homeassistant_alerts] Timeout fetching homeassistant_alerts data
2024-02-15 06:42:59.679 ERROR (MainThread) [homeassistant.components.xiaomi_ble] C4:7C:8D:6C:59:B9: Bluetooth error whilst polling: C4:7C:8D:6C:59:B9 - C4:7C:8D:6C:59:B9: Failed to connect after 8 attempt(s): TimeoutError
2024-02-15 06:44:01.134 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 06:44:41.123 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 07:00:58.122 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 07:16:28.122 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 07:34:13.122 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 07:39:28.123 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 07:41:03.692 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34973001 is taking over 10 seconds
2024-02-15 08:40:58.099 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34250002 is taking over 10 seconds
2024-02-15 08:41:32.391 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34280005 is taking over 10 seconds
2024-02-15 08:41:43.546 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34402001 is taking over 10 seconds
2024-02-15 08:42:00.122 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 09:33:55.122 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 09:40:55.195 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 09:41:05.164 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34973001 is taking over 10 seconds
2024-02-15 09:41:37.395 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34402001 is taking over 10 seconds
2024-02-15 10:24:19.121 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 10:40:29.122 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 10:40:58.185 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34250002 is taking over 10 seconds
2024-02-15 10:41:09.122 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 10:41:29.181 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34973001 is taking over 10 seconds
2024-02-15 10:41:41.007 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34070002 is taking over 10 seconds
2024-02-15 10:41:53.703 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34280005 is taking over 10 seconds
2024-02-15 10:42:29.145 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 10:46:09.121 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 10:47:24.123 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 10:48:01.321 INFO (MainThread) [backoff] Backing off fetch_events(...) for 0.2s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host ha101-1.overkiz.com:443 ssl:default [Try again])
2024-02-15 10:48:04.124 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 10:49:14.123 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 10:56:59.123 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 11:10:14.122 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 11:30:49.121 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 11:32:34.122 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 11:40:58.451 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34250002 is taking over 10 seconds
2024-02-15 11:41:40.446 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34280005 is taking over 10 seconds
2024-02-15 11:42:15.165 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 11:42:15.992 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34402001 is taking over 10 seconds
2024-02-15 11:43:55.121 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 11:45:40.120 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 11:46:35.121 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 12:01:55.121 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 12:02:35.121 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 12:24:50.590 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 350, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "aiohttp/_http_parser.pyx", line 557, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadHttpMessage: 400, message:
Pause on PRI/Upgrade:
b''
^
2024-02-15 12:24:55.122 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 12:25:04.247 INFO (MainThread) [backoff] Backing off fetch_events(...) for 0.8s (aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host ha101-1.overkiz.com:443 ssl:default [Try again])
2024-02-15 12:27:20.123 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 12:30:15.121 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 12:40:57.403 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34250002 is taking over 10 seconds
2024-02-15 12:41:05.122 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 12:41:52.864 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34973001 is taking over 10 seconds
2024-02-15 12:42:30.122 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 12:43:18.705 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34070002 is taking over 10 seconds
2024-02-15 12:43:45.123 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 12:44:03.907 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34280005 is taking over 10 seconds
2024-02-15 12:44:04.270 ERROR (MainThread) [homeassistant.components.nut] Error fetching NUT resource status data: Error fetching UPS state
2024-02-15 12:44:36.535 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.prixcarburant_34402001 is taking over 10 seconds
2024-02-15 12:56:53.758 ERROR (MainThread) [homeassistant.components.meteo_france] Error requesting Météo-France alert for department 34 data: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
2024-02-15 13:01:26.122 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 13:03:26.123 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
2024-02-15 13:11:51.121 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Timeout fetching roborock.vacuum.s6 data
je ne sais pas vraiment à quelle heure cela a planté car je ne suis pas tout le temps dessus mais la ligne traitant du aiohttp me parait peut être l’origine du pb mais je ne sais pas à quoi cela correspond.
tu pourrais m’aider s’il te plait ?