Repository navigation
Description
Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
Discord plugin loads and resolves guild/channel/user IDs, but the Discord client stays at "awaiting gateway readiness" and never reaches READY on Windows.
Steps to reproduce
- Start OpenClaw 2026.5.3-1 on Windows with the Discord plugin enabled.
- Run
openclaw gateway restart. - Wait at least 120 seconds.
- Run
openclaw gateway probe. - Check the gateway log.
Expected behavior
Discord should reach gateway READY, and openclaw gateway probe should complete without the read probe timing out.
Actual behavior
Gateway becomes reachable/admin-capable, and Discord resolves guild/channel/user IDs, but Discord remains at awaiting gateway readiness. After waiting 120 seconds, openclaw gateway probe still reports Read probe: failed - timeout.
OpenClaw version
2026.5.3-1
Operating system
Windows
Install method
npm global
Model
openai-codex/gpt-5.5
Provider / routing chain
OpenClaw gateway with OpenAI Codex model
Additional provider/model setup details
NOT_ENOUGH_INFO
Logs, screenshots, and evidence
Observed logs:
- [gateway] http server listening (7 plugins: browser, device-pair, discord, memory-core, phone-control, talk-voice, telegram)
- [gateway] gateway ready
- [discord] channels resolved: 1476427990618607721
- [discord] channel users resolved: 1021989512227868814
- [discord] client initialized as 1476275479047700564; awaiting gateway readiness
After 120s:
openclaw gateway probe:
- Reachable: yes
- Capability: admin-capable
- Connect: ok
- Read probe: failed - timeout
Tried:
- openclaw doctor --fix
- installed discord plugin
- increased channels.discord.gatewayReadyTimeoutMs to 120000
- increased channels.discord.gatewayRuntimeReadyTimeoutMs to 120000
Related closed issue:
https://github.com/openclaw/openclaw/issues/53132
This appears similar to #53132, but still reproduces on Windows with OpenClaw 2026.5.3-1.Impact and severity
Affected: Discord channel integration on this Windows OpenClaw gateway.
Severity: High, because Discord messages cannot reliably connect through the gateway.
Frequency: Reproduced after restart and waiting 120 seconds.
Consequence: Discord integration remains unusable even though the gateway itself is reachable.
Additional information
The local gateway is reachable/admin-capable, so the failure appears specific to Discord gateway readiness or follow-up read diagnostics rather than the HTTP gateway listener itself.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
wena369 commentedon May 5, 2026
ClawSweeper status: review started.
I am starting a fresh review of this issue: [Bug]: Discord gateway remains stuck at awaiting gateway readiness on Windows v2026.5.3-1 This is item 1/1 in the current shard. Shard 0/1.
This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.
Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.
clawsweeper commentedon May 5, 2026
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded.
Close as duplicate: the Windows v2026.5.3-1 READY hang matches the still-open canonical Discord gateway readiness regression in #77668, which already tracks the 2026.5.3-1 recurrence after the older #53132/#68159 fix; this issue adds useful Windows/read-probe evidence but does not show a separate root cause.
So I’m closing this here and keeping the remaining discussion on the canonical linked item.
Review details
Best possible solution:
Consolidate this Windows evidence into #77668, land one narrow Discord gateway lifecycle fix there, and keep the separate READY log-line observability work under #63223.
Do we have a high-confidence way to reproduce the issue?
No high-confidence current-main live reproduction is available in this read-only review. The shipped v2026.5.3-1 logs match the current Discord lifecycle source path and the same open canonical report, but I did not run a Windows Discord gateway.
Is this the best way to solve the issue?
Yes, duplicate close is the best cleanup path. #77668 is open, newer than the older closed #53132 line, and already captures the same 2026.5.3-1 READY-hang family with stronger isolation evidence.
Security review:
Security review: No PR patch is under review, and the issue is not a security report.
What I checked:
awaiting gateway readinesshang after restart, with stronger raw WebSocket isolation and a follow-up confirming the earlier fix(discord): prevent Identify silent-drop race in gateway startup #68159 fix is present but insufficient.awaiting gateway readinessafter restart.awaiting gateway readinessmessage before enteringrunDiscordGatewayLifecycle, which waits ongateway.isConnectedand READY timeout/reconnect handling. (extensions/discord/src/monitor/provider.ts:572, 003bed0c030a)extensions/discord/src/network-config.ts:35, 003bed0c030a)Read probe: failedafterConnect: okas accepted WebSocket connection with follow-up read diagnostics timing out or failing, matching the current issue's probe output. Public docs:docs/cli/gateway.md. (docs/cli/gateway.md:336, 003bed0c030a)Likely related people:
extensions/discord/src/network-config.ts,extensions/discord/src/monitor/gateway-plugin.ts,extensions/discord/src/monitor/rest-fetch.ts)extensions/discord/src/monitor/provider.lifecycle.ts,extensions/discord/src/monitor/provider.lifecycle.test.ts)extensions/discord/src/monitor/gateway-plugin.ts,extensions/discord/src/monitor/gateway-plugin.test.ts)Codex review notes: model gpt-5.5, reasoning high; reviewed against 003bed0c030a.