ClawPanel 在 Windows 上会在 Gateway 已成功 ready 后重复 Hidden-start / ClawPanel repeatedly hidden-starts Gateway on Windows after successful ready
Body
问题概述 / Summary
在 Windows 上,ClawPanel 会重复触发:
textCopy[ClawPanel] Hidden-start Gateway on Windows
即使 Gateway 已经成功启动并进入 ready 状态,ClawPanel 似乎仍然会再次发起启动。
这看起来像是:
ClawPanel 没有正确识别已经运行中的 Gateway
或者 Windows 下存在多个启动路径,导致重复拉起
或者启动成功后的状态没有正确同步回 ClawPanel
On Windows, ClawPanel repeatedly triggers:
textCopy[ClawPanel] Hidden-start Gateway on Windows
even after Gateway has already started successfully and reached the ready state.
This suggests that:
ClawPanel may not be correctly detecting an already-running Gateway
or multiple startup paths may be active on Windows
or the successful startup state is not properly synchronized back to ClawPanel
环境信息 / Environment
操作系统 / OS: Windows
Gateway 地址 / Gateway bind address: 127.0.0.1:18789
日志中显示模型 / Model shown in logs: local/gpt-5.4
运行方式 / Launch path: ClawPanel hidden-start on Windows
期望行为 / Expected behavior
当 Gateway 成功启动并输出 ready 后,ClawPanel 应识别其已在运行,不应在短时间内再次触发 Hidden-start。
After Gateway successfully starts and logs ready, ClawPanel should recognize that it is already running and should not trigger another hidden-start shortly afterward.
实际行为 / Actual behavior
ClawPanel 在短时间内多次输出:
textCopy[ClawPanel] Hidden-start Gateway on Windows
而且每次对应的 Gateway 日志都显示启动成功,包括:
配置加载成功
认证解析成功
HTTP server 启动成功
Canvas 挂载到 127.0.0.1:18789
Health monitor 启动
Gateway 进入 ready
Heartbeat 启动
Hooks 加载完成
ClawPanel prints multiple:
textCopy[ClawPanel] Hidden-start Gateway on Windows
within a short time window, and each corresponding Gateway startup log shows successful startup, including:
configuration loaded
authentication resolved
HTTP server started
canvas mounted on 127.0.0.1:18789
health monitor started
Gateway reached ready
heartbeat started
hooks loaded successfully
相关日志 / Relevant logs
textCopy[2026-04-22T22:02:09.340657400+08:00] [ClawPanel] Hidden-start Gateway on Windows
|
o Config warnings ------------------------------------------------------------+
| |
| - plugins.entries.acpx: plugin acpx: duplicate plugin id detected; |
| bundled plugin will be overridden by config plugin |
| - plugins.entries.feishu: plugin disabled (disabled in config) but |
| config is present |
| |
+------------------------------------------------------------------------------+
2026-04-22T22:02:22.658+08:00 [gateway] loading configuration…
2026-04-22T22:02:22.773+08:00 [gateway] resolving authentication…
2026-04-22T22:02:22.874+08:00 [gateway] starting...
2026-04-22T22:02:53.230+08:00 [gateway] [plugins] duplicate plugin id detected; bundled plugin will be overridden by config plugin
2026-04-22T22:02:53.250+08:00 [gateway] starting HTTP server...
2026-04-22T22:02:53.258+08:00 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/
2026-04-22T22:02:53.394+08:00 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
2026-04-22T22:02:54.474+08:00 [gateway] agent model: local/gpt-5.4
2026-04-22T22:02:54.479+08:00 [gateway] ready (3 plugins: acpx, openclaw-weixin, telegram; 31.6s)
2026-04-22T22:02:54.483+08:00 [gateway] log file: \tmp\openclaw\openclaw-2026-04-22.log
2026-04-22T22:02:54.672+08:00 [heartbeat] started
2026-04-22T22:02:54.686+08:00 [gateway] starting channels and sidecars...
2026-04-22T22:02:55.867+08:00 [hooks] loaded 4 internal hook handlers
[2026-04-22T22:04:12.057935400+08:00] [ClawPanel] Hidden-start Gateway on Windows
|
o Config warnings ------------------------------------------------------------+
| |
| - plugins.entries.acpx: plugin acpx: duplicate plugin id detected; |
| bundled plugin will be overridden by config plugin |
| - plugins.entries.feishu: plugin disabled (disabled in config) but |
| config is present |
| |
+------------------------------------------------------------------------------+
2026-04-22T22:04:26.498+08:00 [gateway] loading configuration…
2026-04-22T22:04:26.614+08:00 [gateway] resolving authentication…
2026-04-22T22:04:26.718+08:00 [gateway] starting...
2026-04-22T22:05:00.307+08:00 [gateway] [plugins] duplicate plugin id detected; bundled plugin will be overridden by config plugin
2026-04-22T22:05:00.325+08:00 [gateway] starting HTTP server...
2026-04-22T22:05:00.333+08:00 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/
2026-04-22T22:05:00.456+08:00 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
2026-04-22T22:05:01.556+08:00 [gateway] agent model: local/gpt-5.4
2026-04-22T22:05:01.562+08:00 [gateway] ready (3 plugins: acpx, openclaw-weixin, telegram; 34.8s)
2026-04-22T22:05:01.570+08:00 [gateway] log file: \tmp\openclaw\openclaw-2026-04-22.log
2026-04-22T22:05:01.768+08:00 [heartbeat] started
2026-04-22T22:05:01.780+08:00 [gateway] starting channels and sidecars...
2026-04-22T22:05:02.762+08:00 [hooks] loaded 4 internal hook handlers
补充说明 / Additional notes
日志中确实存在两个配置警告:
plugins.entries.acpx: duplicate plugin id detected
plugins.entries.feishu: plugin disabled but config is present
但从日志看,这两个都只是 warning,不是致命错误,因为 Gateway 最终仍然成功进入了 ready 状态。
There are also two configuration warnings in the logs:
plugins.entries.acpx: duplicate plugin id detected
plugins.entries.feishu: plugin disabled but config is present
However, these appear to be warnings only, not fatal startup errors, since Gateway still reaches the ready state successfully.
核心问题不是 “Gateway 启动失败”,而是:
Gateway 已经启动成功,但 ClawPanel 似乎仍然认为需要再次启动它。
The main issue is not that Gateway fails to start, but that:
Gateway starts successfully, yet ClawPanel still appears to think it needs to start it again.
可能原因 / Possible causes
ClawPanel 没有正确检测现有 Gateway 进程
Gateway ready / 端口监听状态没有正确同步回 UI
Windows hidden-start 的重试逻辑过于激进
系统中存在多个启动入口(例如 ClawPanel、自定义脚本、任务计划等)
进程存在但状态检测逻辑误判为未启动
ClawPanel may not be correctly detecting an existing Gateway process
Gateway ready / listening state may not be synchronized back to the UI
Retry logic in Windows hidden-start may be too aggressive
Multiple startup mechanisms may be active simultaneously
The process may exist, but the status check incorrectly treats it as not running
影响 / Impact
用户会误以为 Gateway 没有正常启动
可能导致重复启动、竞争条件或状态混乱
增加排障难度
Windows 下的启动体验不稳定、不确定
Users may think Gateway failed to start
May lead to duplicate launches, race conditions, or inconsistent state
Makes troubleshooting more difficult
Creates an unstable / confusing startup experience on Windows
建议排查方向 / Suggested investigation
检查 ClawPanel 在 Windows 上如何判断 Gateway 是否已经运行
检查 ready 状态或 127.0.0.1:18789 监听状态是否正确反馈给 UI
检查 hidden-start 是否在已有实例存在时仍会重复触发
检查是否存在多个启动来源同时生效
检查启动成功后 UI 状态是否有延迟或误判
Check how ClawPanel determines whether Gateway is already running on Windows
Verify whether ready state or listening on 127.0.0.1:18789 is properly fed back into the UI
Check whether hidden-start can still trigger while an existing instance is already running
Review whether multiple startup mechanisms are active at the same time
Inspect whether there is delayed or incorrect UI state after successful startup
ClawPanel 在 Windows 上会在 Gateway 已成功 ready 后重复 Hidden-start / ClawPanel repeatedly hidden-starts Gateway on Windows after successful ready
Body
问题概述 / Summary
在 Windows 上,ClawPanel 会重复触发:
textCopy[ClawPanel] Hidden-start Gateway on Windows
即使 Gateway 已经成功启动并进入 ready 状态,ClawPanel 似乎仍然会再次发起启动。
这看起来像是:
ClawPanel 没有正确识别已经运行中的 Gateway
或者 Windows 下存在多个启动路径,导致重复拉起
或者启动成功后的状态没有正确同步回 ClawPanel
On Windows, ClawPanel repeatedly triggers:
textCopy[ClawPanel] Hidden-start Gateway on Windows
even after Gateway has already started successfully and reached the ready state.
This suggests that:
ClawPanel may not be correctly detecting an already-running Gateway
or multiple startup paths may be active on Windows
or the successful startup state is not properly synchronized back to ClawPanel
环境信息 / Environment
操作系统 / OS: Windows
Gateway 地址 / Gateway bind address: 127.0.0.1:18789
日志中显示模型 / Model shown in logs: local/gpt-5.4
运行方式 / Launch path: ClawPanel hidden-start on Windows
期望行为 / Expected behavior
当 Gateway 成功启动并输出 ready 后,ClawPanel 应识别其已在运行,不应在短时间内再次触发 Hidden-start。
After Gateway successfully starts and logs ready, ClawPanel should recognize that it is already running and should not trigger another hidden-start shortly afterward.
实际行为 / Actual behavior
ClawPanel 在短时间内多次输出:
textCopy[ClawPanel] Hidden-start Gateway on Windows
而且每次对应的 Gateway 日志都显示启动成功,包括:
配置加载成功
认证解析成功
HTTP server 启动成功
Canvas 挂载到 127.0.0.1:18789
Health monitor 启动
Gateway 进入 ready
Heartbeat 启动
Hooks 加载完成
ClawPanel prints multiple:
textCopy[ClawPanel] Hidden-start Gateway on Windows
within a short time window, and each corresponding Gateway startup log shows successful startup, including:
configuration loaded
authentication resolved
HTTP server started
canvas mounted on 127.0.0.1:18789
health monitor started
Gateway reached ready
heartbeat started
hooks loaded successfully
相关日志 / Relevant logs
textCopy[2026-04-22T22:02:09.340657400+08:00] [ClawPanel] Hidden-start Gateway on Windows
|
o Config warnings ------------------------------------------------------------+
| |
| - plugins.entries.acpx: plugin acpx: duplicate plugin id detected; |
| bundled plugin will be overridden by config plugin |
| - plugins.entries.feishu: plugin disabled (disabled in config) but |
| config is present |
| |
+------------------------------------------------------------------------------+
2026-04-22T22:02:22.658+08:00 [gateway] loading configuration…
2026-04-22T22:02:22.773+08:00 [gateway] resolving authentication…
2026-04-22T22:02:22.874+08:00 [gateway] starting...
2026-04-22T22:02:53.230+08:00 [gateway] [plugins] duplicate plugin id detected; bundled plugin will be overridden by config plugin
2026-04-22T22:02:53.250+08:00 [gateway] starting HTTP server...
2026-04-22T22:02:53.258+08:00 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/
2026-04-22T22:02:53.394+08:00 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
2026-04-22T22:02:54.474+08:00 [gateway] agent model: local/gpt-5.4
2026-04-22T22:02:54.479+08:00 [gateway] ready (3 plugins: acpx, openclaw-weixin, telegram; 31.6s)
2026-04-22T22:02:54.483+08:00 [gateway] log file: \tmp\openclaw\openclaw-2026-04-22.log
2026-04-22T22:02:54.672+08:00 [heartbeat] started
2026-04-22T22:02:54.686+08:00 [gateway] starting channels and sidecars...
2026-04-22T22:02:55.867+08:00 [hooks] loaded 4 internal hook handlers
[2026-04-22T22:04:12.057935400+08:00] [ClawPanel] Hidden-start Gateway on Windows
|
o Config warnings ------------------------------------------------------------+
| |
| - plugins.entries.acpx: plugin acpx: duplicate plugin id detected; |
| bundled plugin will be overridden by config plugin |
| - plugins.entries.feishu: plugin disabled (disabled in config) but |
| config is present |
| |
+------------------------------------------------------------------------------+
2026-04-22T22:04:26.498+08:00 [gateway] loading configuration…
2026-04-22T22:04:26.614+08:00 [gateway] resolving authentication…
2026-04-22T22:04:26.718+08:00 [gateway] starting...
2026-04-22T22:05:00.307+08:00 [gateway] [plugins] duplicate plugin id detected; bundled plugin will be overridden by config plugin
2026-04-22T22:05:00.325+08:00 [gateway] starting HTTP server...
2026-04-22T22:05:00.333+08:00 [canvas] host mounted at http://127.0.0.1:18789/__openclaw__/canvas/
2026-04-22T22:05:00.456+08:00 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
2026-04-22T22:05:01.556+08:00 [gateway] agent model: local/gpt-5.4
2026-04-22T22:05:01.562+08:00 [gateway] ready (3 plugins: acpx, openclaw-weixin, telegram; 34.8s)
2026-04-22T22:05:01.570+08:00 [gateway] log file: \tmp\openclaw\openclaw-2026-04-22.log
2026-04-22T22:05:01.768+08:00 [heartbeat] started
2026-04-22T22:05:01.780+08:00 [gateway] starting channels and sidecars...
2026-04-22T22:05:02.762+08:00 [hooks] loaded 4 internal hook handlers
补充说明 / Additional notes
日志中确实存在两个配置警告:
plugins.entries.acpx: duplicate plugin id detected
plugins.entries.feishu: plugin disabled but config is present
但从日志看,这两个都只是 warning,不是致命错误,因为 Gateway 最终仍然成功进入了 ready 状态。
There are also two configuration warnings in the logs:
plugins.entries.acpx: duplicate plugin id detected
plugins.entries.feishu: plugin disabled but config is present
However, these appear to be warnings only, not fatal startup errors, since Gateway still reaches the ready state successfully.
核心问题不是 “Gateway 启动失败”,而是:
Gateway 已经启动成功,但 ClawPanel 似乎仍然认为需要再次启动它。
The main issue is not that Gateway fails to start, but that:
Gateway starts successfully, yet ClawPanel still appears to think it needs to start it again.
可能原因 / Possible causes
ClawPanel 没有正确检测现有 Gateway 进程
Gateway ready / 端口监听状态没有正确同步回 UI
Windows hidden-start 的重试逻辑过于激进
系统中存在多个启动入口(例如 ClawPanel、自定义脚本、任务计划等)
进程存在但状态检测逻辑误判为未启动
ClawPanel may not be correctly detecting an existing Gateway process
Gateway ready / listening state may not be synchronized back to the UI
Retry logic in Windows hidden-start may be too aggressive
Multiple startup mechanisms may be active simultaneously
The process may exist, but the status check incorrectly treats it as not running
影响 / Impact
用户会误以为 Gateway 没有正常启动
可能导致重复启动、竞争条件或状态混乱
增加排障难度
Windows 下的启动体验不稳定、不确定
Users may think Gateway failed to start
May lead to duplicate launches, race conditions, or inconsistent state
Makes troubleshooting more difficult
Creates an unstable / confusing startup experience on Windows
建议排查方向 / Suggested investigation
检查 ClawPanel 在 Windows 上如何判断 Gateway 是否已经运行
检查 ready 状态或 127.0.0.1:18789 监听状态是否正确反馈给 UI
检查 hidden-start 是否在已有实例存在时仍会重复触发
检查是否存在多个启动来源同时生效
检查启动成功后 UI 状态是否有延迟或误判
Check how ClawPanel determines whether Gateway is already running on Windows
Verify whether ready state or listening on 127.0.0.1:18789 is properly fed back into the UI
Check whether hidden-start can still trigger while an existing instance is already running
Review whether multiple startup mechanisms are active at the same time
Inspect whether there is delayed or incorrect UI state after successful startup