The broker quit operation - "Keep alive time overdue".
オープン
まだ誰も着手していません。
- 主要言語
- Nim
- スター
- 53
- フォーク
- 11
- 平均マージ
- 1日 35分
- マージ済み PR(30日)
- 2
説明
The broker quit operation after a client disconnects. It happened a few times, but it is not something I can reproduce. Below is all I could catch.
Using nmqtt-1.0.4, Nim 1.6.6, Windows 11
rx> Connect(00): 00 04 4D 51 54 54 04 06 00 3C 00 19 73 68 65 6C 6C 79 70 6C 75 67 2D 73 2D 42 43 46 46 34 44 35 41 32 36 30 37 00 29 73 68 65 6C 6C 69 65 73 2F 73 68 65 6C 6C 79 70 6C 75 67 2D 73 2D 42 43 46 46 34 44 35 41 32 36 30 37 2F 6F 6E 6C 69 6E 65 00 05 66 61 6C 73 65
tx> ConnAck(00): 00 02
Connections >> shellyplug-s-BCFF4D5A2607 was disconnected. Keep alive time overdue.
Client >> shellyplug-s-BCFF4D5A2607
host:
sslOn: false
sslCert:
sslKey:
verbosity: 0
beenConnected: true
username:
password:
clientId: shellyplug-s-BCFF4D5A2607
s: ..disconnected..
msgIdSeq: 3
workQueue: 0
pubCallbacks: 0
inWork: false
keepAlive: 60
willFlag: false
willQoS: 0
willRetain: false
willTopic: shellies/shellyplug-s-BCFF4D5A2607/online
willMsg: false
proto: MQTT
version: 4
connFlags: 00000110
subscribed: 3
PS C:\Users\xxx>```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
No source file, test, or entry point is named. Start by tracing the broker's keep-alive timeout handling and compare it with the captured Connect and ConnAck exchange and the reported client disconnect. Done means identifying the cause, preventing the broker from quitting incorrectly, and demonstrating the behavior with a reproducible regression test.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- nim
- 領域
- networking
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100