openclaw - ✅(Solved) Fix [Bug]: gateway always failed after openclaw version updated [1 pull requests, 2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

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#74006Fetched 2026-04-30 06:29:57
View on GitHub
Comments
2
Participants
3
Timeline
7
Reactions
0
Author
Timeline (top)
commented ×2cross-referenced ×2labeled ×2referenced ×1

I’m wondering if I’m the only one running into this issue. Why do I encounter so many problems every time I update OpenClaw?

Previous versions were mostly fine, and I could usually fix things with doctor --fix or --repair. However, after updating to OpenClaw 2026.4.26 (be8c246), the gateway keeps disconnecting, the history chat log takes about 30 seconds to load after launching openclaw tui, and the restart command has also become extremely slow.

<img width="2212" height="452" alt="Image" src="https://github.com/user-attachments/assets/778aa97b-5df5-49f0-817a-a5810b562de4" />

Root Cause

I’m wondering if I’m the only one running into this issue. Why do I encounter so many problems every time I update OpenClaw?

Previous versions were mostly fine, and I could usually fix things with doctor --fix or --repair. However, after updating to OpenClaw 2026.4.26 (be8c246), the gateway keeps disconnecting, the history chat log takes about 30 seconds to load after launching openclaw tui, and the restart command has also become extremely slow.

<img width="2212" height="452" alt="Image" src="https://github.com/user-attachments/assets/778aa97b-5df5-49f0-817a-a5810b562de4" />

Fix Action

Fixed

PR fix notes

PR #74033: fix: skip external CLI credential reads when no profile exists

Description (problem / solution / changelog)

Summary

Fixes #74006 - Gateway disconnects and slow startup after v2026.4.26 update.

Root cause: resolveExternalCliAuthProfiles unconditionally reads credentials for ALL external CLI providers (Claude CLI, Codex, MiniMax) during startup, even when no profiles for those providers are configured. This causes expensive macOS keychain queries that block gateway startup.

User config (from issue):

  • auth.profiles: only opencode-go:default (api_key)
  • No Anthropic/Claude configured
  • But startup still queries macOS keychain for Claude CLI credentials, causing 5-10s blocking calls

Changes

  • In resolveExternalCliAuthProfiles, check if a profile exists before reading credentials
  • If no profile exists in the store for a provider, skip reading credentials for that provider
  • This avoids expensive keychain lookups when no profile would use them

Testing

  • Verified fix logic: no longer reads credentials for providers without existing profiles
  • Existing tests cover the oauth adoption flow; fix only affects the early-continue path

Fixes openclaw/openclaw#74006

Changed files

  • src/agents/auth-profiles/external-cli-sync.ts (modified, +7/-1)
RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

I’m wondering if I’m the only one running into this issue. Why do I encounter so many problems every time I update OpenClaw?

Previous versions were mostly fine, and I could usually fix things with doctor --fix or --repair. However, after updating to OpenClaw 2026.4.26 (be8c246), the gateway keeps disconnecting, the history chat log takes about 30 seconds to load after launching openclaw tui, and the restart command has also become extremely slow.

<img width="2212" height="452" alt="Image" src="https://github.com/user-attachments/assets/778aa97b-5df5-49f0-817a-a5810b562de4" />

Steps to reproduce

openclaw tui

Expected behavior

takes about 30 seconds to load chat log

Actual behavior

so slow to execute tui and restart

OpenClaw version

2026.4.26 (be8c246)

Operating system

macos 26.3.1 (a) (25D771280a)

Install method

npm -g

Model

claude-sonnet-4-6

Provider / routing chain

openclaw-companyProxy-anthropic

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 previous version of OpenClaw to potentially resolve the disconnecting gateway, slow chat log loading, and slow restart command issues.

Guidance

  • Verify the issue is specific to OpenClaw version 2026.4.26 (be8c246) by checking if other users have reported similar problems.
  • Check the OpenClaw changelog or release notes for version 2026.4.26 to see if any changes could be causing the issues.
  • Test the doctor --fix or --repair commands to see if they can resolve any of the problems.
  • Consider reporting the issue to the OpenClaw developers or maintainers with more detailed logs or error messages.

Notes

The provided information lacks specific error messages or logs, making it difficult to pinpoint the exact cause of the issues.

Recommendation

Apply workaround: Downgrade to a previous version of OpenClaw, as the current version (2026.4.26) seems to be the common factor among the reported issues.

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

takes about 30 seconds to load chat log

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 - ✅(Solved) Fix [Bug]: gateway always failed after openclaw version updated [1 pull requests, 2 comments, 3 participants]