EZSP over TCP does not recover after ConnectionResetError and emits unawaited SerialProtocol.disconnect warning

オープン
#729 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Python
スター
221
フォーク
104
平均マージ
5日 15時間
マージ済み PR(30日)
4

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

zigpy/bellows のほかの issue

zigpy/bellows の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。