openclaw - 💡(How to fix) Fix CLI commands hang indefinitely after upgrade to 2026.4.5, cannot interrupt with Ctrl+C [8 comments, 7 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#62335Fetched 2026-04-08 03:05:49
View on GitHub
Comments
8
Participants
7
Timeline
12
Reactions
1
Author
Timeline (top)
commented ×8cross-referenced ×3subscribed ×1

Error Message

  • No error messages or output
RAW_BUFFERClick to expand / collapse

Problem Description

After upgrading to OpenClaw 2026.4.5, several CLI commands hang indefinitely without producing any output. The commands cannot be interrupted with Ctrl+C and must be forcefully terminated.

Affected Commands

  • openclaw devices list
  • openclaw pairing list
  • openclaw sessions cleanup --fix-missing

Environment

  • OpenClaw version: 2026.4.5 (commit 3e72c03)
  • Node.js: v25.8.2
  • npm: 11.11.1
  • OS: macOS Sequoia 15.4 (Darwin 25.4.0 arm64)
  • Hardware: Mac Mini (Apple Silicon)

Steps to Reproduce

  1. Upgrade OpenClaw to 2026.4.5
  2. Run any of the affected commands (e.g., openclaw devices list)
  3. Command hangs with no output
  4. Press Ctrl+C — does not interrupt the process
  5. Force kill required (kill -9 or terminal close)

Expected Behavior

  • Commands should complete and return results
  • If stuck, Ctrl+C should allow graceful interruption

Actual Behavior

  • Commands hang indefinitely
  • No error messages or output
  • Ctrl+C ignored (SIGINT not handled)
  • Process must be forcefully terminated

Additional Context

  • This behavior started immediately after the 2026.4.5 upgrade
  • Previous version (2026.4.4 or earlier) did not exhibit this issue
  • Gateway appears to be running normally (openclaw gateway status works)
  • Only certain CLI subcommands are affected

Possible Hypothesis

  • New CLI architecture in 2026.4.5 may have changed signal handling
  • Commands may be waiting for a resource/lock that never releases
  • Long timeout without user feedback or cancellation support

extent analysis

TL;DR

Downgrade to OpenClaw version 2026.4.4 to potentially resolve the CLI command hanging issue.

Guidance

  • Verify that the issue is specific to the upgraded version by checking if the problem persists when running the affected commands with the previous version (2026.4.4) of OpenClaw.
  • Investigate the signal handling changes in the new CLI architecture of OpenClaw 2026.4.5 to determine if this is the root cause of the hanging commands.
  • Check for any open issues or discussions on the OpenClaw GitHub page related to signal handling or CLI command hanging in version 2026.4.5.
  • Test if the hanging commands can be gracefully interrupted using alternative methods, such as sending a SIGTERM signal instead of SIGINT.

Notes

The provided information suggests that the issue is related to the upgrade to OpenClaw 2026.4.5, but the exact cause is still uncertain. Further investigation into the changes made in this version is necessary to determine the root cause.

Recommendation

Apply workaround: Downgrade to OpenClaw version 2026.4.4, as this version did not exhibit the hanging issue, and it may provide a temporary solution until the root cause is identified and fixed in a future version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING