openclaw - 💡(How to fix) Fix [Bug]: Web UI chat messages disappear immediately - scope upgrade approval loop blocks replies [1 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#70787Fetched 2026-04-24 05:53:37
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
labeled ×2

Sending a message in the Control UI chat causes the message bubble to disappear immediately with no reply, due to a continuous scope upgrade approval loop that persists even after approving via openclaw devices approve.

Error Message

gateway connect failed: GatewayClientRequestError: scope upgrade pending approval security audit: device access upgrade requested reason=scope-upgrade scopesFrom=operator.read scopesTo=operator.admin,... [repeats every second indefinitely]

Root Cause

Sending a message in the Control UI chat causes the message bubble to disappear immediately with no reply, due to a continuous scope upgrade approval loop that persists even after approving via openclaw devices approve.

Fix Action

Fix / Workaround

  • Affects: All new users on fresh install
  • Severity: Blocks core workflow (cannot use the product's primary interface)
  • Frequency: Always reproducible on fresh install
  • Consequence: Failed onboarding, Control UI completely unusable
  • TUI works as workaround but is not the documented primary interface

Workarounds attempted (none resolved web UI):

  • gateway.auth.mode = none
  • gateway.controlUi.dangerouslyDisableDeviceAuth = true
  • gateway.controlUi.allowInsecureAuth = true
  • openclaw devices approve <requestId>
  • Tested on Safari, Brave, incognito mode
  • Complete reinstall
  • TUI works correctly, agent responds normally

Code Example

gateway connect failed: GatewayClientRequestError: scope upgrade pending approval
security audit: device access upgrade requested reason=scope-upgrade
scopesFrom=operator.read scopesTo=operator.admin,...
[repeats every second indefinitely]
RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

Sending a message in the Control UI chat causes the message bubble to disappear immediately with no reply, due to a continuous scope upgrade approval loop that persists even after approving via openclaw devices approve.

Steps to reproduce

  1. Fresh install OpenClaw 2026.4.22 on macOS arm64
  2. Run openclaw onboard --install-daemon
  3. Open Control UI via openclaw dashboard
  4. Type any message and press Enter
  5. Message bubble appears briefly then disappears, no reply received

Expected behavior

According to the quick start docs (step 5), sending a message in the Control UI should return an AI reply.

Actual behavior

Message bubble appears then disappears. No reply. Logs show continuous "scope upgrade pending approval" loop. Running openclaw devices approve <requestId> does not resolve the loop.

OpenClaw version

2026.4.22 (00bd2cf)

Operating system

macOS arm64 (26.3.1)

Install method

npm (stable channel)

Model

google-gemini-cli/gemini-3-flash-preview

Provider / routing chain

google-gemini-cli → gemini-3.1-pro-preview (with fallback to gemini-3.1-flash-lite-preview)

Additional provider/model setup details

No response

Logs, screenshots, and evidence

gateway connect failed: GatewayClientRequestError: scope upgrade pending approval
security audit: device access upgrade requested reason=scope-upgrade
scopesFrom=operator.read scopesTo=operator.admin,...
[repeats every second indefinitely]

Impact and severity

  • Affects: All new users on fresh install
  • Severity: Blocks core workflow (cannot use the product's primary interface)
  • Frequency: Always reproducible on fresh install
  • Consequence: Failed onboarding, Control UI completely unusable
  • TUI works as workaround but is not the documented primary interface

Additional information

Workarounds attempted (none resolved web UI):

  • gateway.auth.mode = none
  • gateway.controlUi.dangerouslyDisableDeviceAuth = true
  • gateway.controlUi.allowInsecureAuth = true
  • openclaw devices approve <requestId>
  • Tested on Safari, Brave, incognito mode
  • Complete reinstall
  • TUI works correctly, agent responds normally

extent analysis

TL;DR

The issue can be mitigated by investigating and resolving the continuous scope upgrade approval loop that prevents the Control UI from functioning correctly.

Guidance

  • Investigate the gateway connect failed error and the scope upgrade pending approval loop in the logs to understand the root cause of the issue.
  • Verify that the openclaw devices approve <requestId> command is being executed correctly and that the approval is being registered by the system.
  • Check the documentation for the openclaw command and the Control UI to ensure that all necessary steps for setup and configuration have been followed.
  • Consider testing the Control UI with a different provider or model to isolate the issue.

Example

No code snippet is provided as the issue is related to a specific configuration and setup.

Notes

The issue seems to be related to the authentication and authorization mechanism of the OpenClaw system, and resolving the scope upgrade approval loop is crucial to fixing the problem. The fact that the TUI works correctly suggests that the issue is specific to the Control UI.

Recommendation

Apply a workaround by investigating the authentication and authorization configuration, as upgrading to a fixed version is not mentioned in the issue. The reason is that the issue is likely related to a specific configuration or setup, and resolving the scope upgrade approval loop may require changes to the authentication and authorization mechanism.

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

According to the quick start docs (step 5), sending a message in the Control UI should return an AI reply.

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]: Web UI chat messages disappear immediately - scope upgrade approval loop blocks replies [1 participants]