EZSP over TCP does not recover after ConnectionResetError and emits unawaited SerialProtocol.disconnect warning
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- python
- Área
- backend, networking
Línea de trabajo
Start by tracing how the EZSP TCP connection handles ConnectionResetError and how disconnect and reconnect are scheduled; the issue does not name files or tests. Reproduce a remote TCP reset and check both recovery and the unawaited SerialProtocol.disconnect warning. Done means the connection reconnects and Zigbee devices become available without restarting Home Assistant Core.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
When using an EZSP coordinator over TCP, a connection reset from the remote TCP endpoint leaves bellows/ZHA in a non-functional state. The connection loss is detected, but no successful reconnect occurs. Home Assistant still shows the ZHA config entry as loaded, while all Zigbee devices remain unavailable until the Home Assistant Core process is restarted.
This has now been reproduced multiple times.
Related ZHA issue: zigpy/zha#819
Environment
- bellows:
0.49.2 - Python
- Lenguaje dominante
- Python
- Estrellas
- 221
- Forks
- 104
- Merge medio
- 5 d 15 h
- PR fusionados (30 d)
- 4
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de zigpy/bellows
-
Dificultad 4/5 3-5 días Aptitud para principiantes 15/100
-
Stale NCP source route is never invalidated after SOURCE_ROUTE_FAILURE; end device unreachable until re-pairPosiblemente ocupada @puddly la tomó hace 5 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Todos los issues de zigpy/bellows
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
volcengine/OpenViking#8432 ·
Los mantenedores suelen responder en 1 día
-
Failed chat turns are passed to the follow-up rewrite as completed historyPosiblemente ocupada @hskhyl la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
NVIDIA/auto-ontology#683 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
documentation task
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
Implement parse_url and accept http URLs for Pear backendPosiblemente ocupada @muskan-creates352 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
fedora-infra/anitya#2231 ·
Los mantenedores suelen responder en 2 días
-
MarkdownDocSerializer.post_process escapes '\<' to '\<', rendering literal '<' in CommonMarkAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
docling-project/docling-core#1067 ·
Los mantenedores suelen responder en 3 días