Skip to content

[Bug]: Discord gateway remains stuck at awaiting gateway readiness on Windows v2026.5.3-1 #77747

Closed as not planned

Description

@wena369

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

  1. Start OpenClaw 2026.5.3-1 on Windows with the Discord plugin enabled.
  2. Run openclaw gateway restart.
  3. Wait at least 120 seconds.
  4. Run openclaw gateway probe.
  5. 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.

Activity

  1. wena369 commented on May 5, 2026

    @wena369
    Author

    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.

  2. clawsweeper commented on May 5, 2026

    @clawsweeper
    Contributor

    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:

    Likely related people:

    Codex review notes: model gpt-5.5, reasoning high; reviewed against 003bed0c030a.

  3. locked as resolved and limited conversation to collaborators on May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions