Skip to content

5.22: imsg rpc watch.subscribe timeout on every gateway start — iMessage channel dead #87263

@Orionation

Description

@Orionation

Environment

  • OpenClaw: 2026.5.22 (a374c3a)
  • imsg: 0.9.0 (also reproduced on 0.8.2)
  • macOS: Tahoe (26), M4 MacBook Air, 24GB RAM
  • iMessage channel: cliPath /opt/homebrew/bin/imsg

Problem

After upgrading to 5.22, the gateway cannot connect to the imsg RPC watch.subscribe endpoint. Every startup attempt fails:

imessage: watch.subscribe startup failed (attempt 1/3): Error: imsg rpc timeout (watch.subscribe)
[default] channel exited without an error
[default] auto-restart attempt 1/10 in 5s

The iMessage channel never initializes. No incoming messages are received. Outbound works via openclaw message send.

Key finding

imsg rpc works perfectly from the command line:

echo '{"jsonrpc":"2.0","method":"watch.subscribe","params":{},"id":1}' | imsg rpc
{"id":1,"result":{"subscription":1},"jsonrpc":"2.0"}

chats.list also works manually but times out from the gateway:

imsg rpc not ready after 13281ms (Error: imsg rpc timeout (chats.list))

What we tried

Possibly related

Impact

iMessage is the primary channel for this fleet (14 agents). Complete loss of inbound messaging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-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-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions