-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Bug]: Windows gateway listens but local health/status time out after Telegram polling stall (v2026.5.20) #86031
Copy link
Copy link
Open
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.staleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Priority
None yet
Bug Description
On Windows, OpenClaw Gateway starts and binds to
127.0.0.1:18789, but then blocks hard enough that local health/status probes time out. Telegram long polling also stalls and repeatedly forces transport rebuilds. The gateway process remains present/listening, so operator-facing status looks like "running", but it is not actually responsive.This was observed while debugging a user report that "OpenClaw does not stay on for long" and Telegram "can barely pick up" messages. Hermes on the same machine remains up.
Environment
2026.5.20from npm packageopenclaw24.15.0win32in logs), machine also accessed from WSL for diagnosticsC:\Program Files\nodejs\node.exe C:\Users\Omaano\AppData\Roaming\npm\node_modules\openclaw\dist\index.js gateway --port 18789127.0.0.1:18789Steps / Commands Tried
Expected Behavior
gateway statusshould complete and report the gateway as reachable once the process is listening.http://127.0.0.1:18789/healthshould return quickly.Actual Behavior
The gateway process is listening, but probes time out:
Health probe also times out:
TCP state still shows the process listening:
Relevant Log Excerpts
Startup succeeds:
Then the event loop appears starved while a Telegram direct session is processing:
Earlier in the same run, Telegram/network operations timed out:
There was also a local config issue causing silent replies in direct Telegram DMs:
I locally worked around that by setting:
{ "messages": { "visibleReplies": "automatic" } }That explains missing visible replies, but it does not explain why a listening gateway times out on local health/status or why Telegram polling stalls coincide with event-loop starvation.
Notes
2026.5.20with Telegram polling stalls and a listener that remains bound while local probes time out.