openclaw - 💡(How to fix) Fix [Bug]: Gateway hangs from session cleanup 2026.4.x [1 comments, 2 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#73924Fetched 2026-04-29 06:13:12
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
closed ×1commented ×1cross-referenced ×1labeled ×1

After 2026.4.x the gateway hangs and session cleanup writes are spammed to console. https://pastebin.com/jCc0pVHJ https://pastebin.com/xTtva5XD https://pastebin.com/3h6TbxGE Disabling Active-Memory and Dreaming made a very slight improvement Current version im using is 2026.4.26 Happening since atleast 2026.4.11 but worse after upgrading to 2026.4.26

Root Cause

After 2026.4.x the gateway hangs and session cleanup writes are spammed to console. https://pastebin.com/jCc0pVHJ https://pastebin.com/xTtva5XD https://pastebin.com/3h6TbxGE Disabling Active-Memory and Dreaming made a very slight improvement Current version im using is 2026.4.26 Happening since atleast 2026.4.11 but worse after upgrading to 2026.4.26

RAW_BUFFERClick to expand / collapse

Bug type

Crash (process/app exits or hangs)

Beta release blocker

No

Summary

After 2026.4.x the gateway hangs and session cleanup writes are spammed to console. https://pastebin.com/jCc0pVHJ https://pastebin.com/xTtva5XD https://pastebin.com/3h6TbxGE Disabling Active-Memory and Dreaming made a very slight improvement Current version im using is 2026.4.26 Happening since atleast 2026.4.11 but worse after upgrading to 2026.4.26

Steps to reproduce

NOT_ENOUGH_INFO

Expected behavior

Gateway isnt supposed to hang with the session cleanup spam.

Actual behavior

gateway hangs with session cleanup in console while the gateway is hanging.

OpenClaw version

2026.4.26 (be8c246)

Operating system

Ubuntu Server 24.04 LTS

Install method

npm

Model

ollama/gemma4:31b-cloud openrouter/google/gemini-3.1-flash-lite-preview

Provider / routing chain

openclaw > openrouter > gemini or openclaw > ollama

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

TL;DR

Downgrade to a version before 2026.4.11 or disable session cleanup to mitigate the gateway hanging issue.

Guidance

  • Review the provided pastebin links to understand the error messages and console output during the hang.
  • Attempt to disable session cleanup or Active-Memory and Dreaming features to see if it improves the situation.
  • Consider downgrading to a version before 2026.4.11 to determine if the issue is specific to the 2026.4.x release series.
  • Investigate the OpenClaw version history to see if there are any known issues or fixes related to session cleanup and gateway stability.

Notes

The provided information lacks specific steps to reproduce the issue, making it challenging to pinpoint the exact cause. The suggestions are based on the given details and may not fully resolve the issue.

Recommendation

Apply workaround: Disable session cleanup or Active-Memory and Dreaming features to mitigate the issue, as downgrading may not be feasible or desirable in all situations.

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…

FAQ

Expected behavior

Gateway isnt supposed to hang with the session cleanup spam.

Still need to ship something?

×6

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

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: Gateway hangs from session cleanup 2026.4.x [1 comments, 2 participants]