The broker quit operation - "Keep alive time overdue".
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- nim
- 领域
- networking
调研方向
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 内容生成。
描述
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>```
- 主要语言
- Nim
- 星标
- 53
- 派生
- 11
- 平均合并
- 1 天 35 分钟
- 30 天内合并 PR
- 2
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python36/nmqtt 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 55/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 38/100
相似的 Issue
-
Bug Java Platform: Java
难度 2/5 1-3 小时 新手友好度 78/100
getsentry/sentry-java#6138 · 1 条评论 ·
-
kind/bug Ubuntu 24
难度 2/5 1-3 小时 新手友好度 72/100
kubernetes-sigs/kubespray#13532 ·
-
language/en needs-triage sig/network
难度 2/5 1-3 小时 新手友好度 68/100
kubernetes/website#57642 · 1 条评论 ·
-
app.loanspq.com 未关闭N: AdGuard DNS P3: Medium T: Incorrect Blocking
难度 2/5 1-3 小时 新手友好度 72/100
AdguardTeam/AdguardFilters#242018 ·
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 条评论 ·