Skip to content

[Bug]: openclaw-cli token auth scope operator.read missing #50474

@porist

Description

@porist

Bug type

Regression (worked before, now fails)

Summary

找到了!gateway probe 的关键信息:

  Connect: ok (32ms) · RPC: limited - missing scope: operator.read                                                                                                                                 

CLI 连接成功(TCP ok),但 RPC 操作被 scope 权限限制了——缺少 operator.read。这是 token 认证模式下 CLI 的权限问题,不是 Gateway 本身坏了。

结论:这是 OpenClaw 2026.3.13 的一个 bug —— CLI 在 token 认证模式下无法通过 RPC 鉴权,导致所有 CLI 命令(cron/status 等)都失败。

目前可用的管理方式:

  1. Web UI:http://127.0.0.1:18789/ — 可以完整管理 cron
  2. TUI:openclaw tui — 另一个界面
  3. 让我帮忙 — 直接用 cron 工具创建/管理,不需要 CLI

建议去 GitHub 反馈这个问题(openclaw-cli token auth scope operator.read missing),这是真实存在的 bug。

你想用哪种方式继续?我可以直接帮你创建 cron 任务。

Steps to reproduce

bash:
% openclaw cron list
ouput:
gateway connect failed: Error: gateway closed (1000):
Error: gateway closed (1000 normal closure): no close reason
Gateway target: ws://127.0.0.1:18789
Source: local loopback
Config: /Users/{USER}/.openclaw/openclaw.json
Bind: loopback
{USER}@Mac ~ %

Expected behavior

--

Actual behavior

--

OpenClaw version

OpenClaw 2026.3.13

Operating system

macOS 14.6.1 (23G93)

Install method

npm g

Model

minimax

Provider / routing chain

minimax

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    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