Skip to content

[Bug]: 远程模式对接openclaw请求错误 #1103

@bfbz

Description

@bfbz

Bug Description

openclaw 日志报错:

026-03-31T11:39:55.155+08:00 [plugins] openviking: registered context-engine (before_prompt_build=auto-recall, afterTurn=auto-capture, assemble=archive+active, session→OV id=uuid-or-sha256 + diag/Phase2 options)
2026-03-31T11:39:55.157+08:00 [plugins] openviking: loaded without install/load-path provenance; treat as untracked local code and pin trust via plugins.allow or install records (/root/.openclaw/extensions/openviking/index.ts)
2026-03-31T11:39:55.396+08:00 [tools] agents.main.tools.allow allowlist contains unknown entries (gateway, nodes). These entries are shipped core tools but unavailable in the current runtime/provider/model/config.
2026-03-31T11:39:55.504+08:00 [plugins] openviking: assemble failed for session=7486347994c4ac1076c740c94eb92b3200534d54e27c40427b6dbaaa6da18cc8, tokenBudget=65535, agentId=openclaw: Error: OpenViking request failed: HTTP 404
2026-03-31T11:39:57.096+08:00 [plugins] openviking: agent memories search failed: Error: OpenViking request failed [INTERNAL]: Access denied for viking://agent/6d6cbb144266/memories
2026-03-31T11:40:10.514+08:00 [agent/embedded] embedded run timeout: runId=slug-gen-1774928394716 sessionId=slug-generator-1774928394716 timeoutMs=15000
2026-03-31T11:40:10.605+08:00 [agent/embedded] embedded run failover decision: runId=slug-gen-1774928394716 stage=assistant decision=surface_error reason=timeout provider=custom/Qwen3.5-27B-FP8 profile=-
2026-03-31T11:40:10.769+08:00 [hooks/session-memory] Session context saved to ~/.openclaw/workspace/memory/2026-03-31-request-timed-out-before-a-res.md
2026-03-31T11:40:11.560+08:00 [plugins] openviking: assemble failed for session=8df05bfc-0205-447b-966c-395235dfd061, tokenBudget=65535, agentId=openclaw_main: Error: OpenViking request failed: HTTP 404
2026-03-31T11:40:12.837+08:00 [plugins] openviking: agent memories search failed: Error: OpenViking request failed [INTERNAL]: Access denied for viking://agent/6d6cbb144266/memories
2026-03-31T11:48:55.001+08:00 [plugins] openviking: assemble failed for session=8df05bfc-0205-447b-966c-395235dfd061, tokenBudget=65535, agentId=openclaw_main: Error: OpenViking request failed: HTTP 404
2026-03-31T11:48:58.079+08:00 [plugins] openviking: agent memories search failed: Error: OpenViking request failed [INTERNAL]: Access denied for viking://agent/6d6cbb144266/memories

openclaw 配置:

"plugins": {
    "slots": {
      "contextEngine": "openviking"
    },
    "entries": {
      "feishu": {
        "enabled": true,
        "config": {}
      },
      "openviking": {
        "enabled": true,
        "config": {
          "mode": "remote",
          "baseUrl": "http://192.168.1.2:1933",
          "apiKey": "af4d252c2ae413b6c044182de832ad5cac27beb45f5143891b1ffed152675868",
          "agentId": "openclaw",
          "autoRecall": true,
          "autoCapture": true
        }
      }
    }
  }

ov配置:

{
  "server": {
    "host": "0.0.0.0",
    "port": 1933,
    "root_api_key": "xxxx",
    "cors_origins": ["*"]
  },
  "storage": {
    "workspace": "~/.openviking/data",
    "vectordb": {
      "name": "context",
      "backend": "local"
    },
    "agfs": {
      "log_level": "warn",
      "backend": "local"
    }
  },
  "embedding": {
    "dense": {
      "api_base": "https://aa/v1",
      "api_key": "ah-xxx",
      "provider": "openai",
      "dimension": 4096,
      "model": "Qwen3-Embedding-8B",
      "input": "multimodal"
    }
  },
  "vlm": {
    "api_base": "https://aa/v1",
    "api_key": "ah-xxx",
    "provider": "openai",
    "max_retries": 2,
    "model": "Qwen3.5-27B-FP8"
  }
}
为什么一直报:Access denied ,通过web端看已经存了对话记录,但是读有问题?

ov 用户:

#  {"status":"ok","result":{"account_id":"ov","admin_user_id":"admin","user_key":"af4d252c2ae413b6c044182de832ad5cac27beb45f5143891b1ffed152675868"},"error":null,"telemetry":null}

# {"status":"ok","result":{"account_id":"ov","user_id":"openclaw","user_key":"141103c3a3bdd326da3157470582760a0f2554fa8e0ae89296ac3c8b5a41a39d"},"error":null,"telemetry":null}

Steps to Reproduce

如上

Expected Behavior

正常读写记忆

Actual Behavior

报错:Access denied

Minimal Reproducible Example

Error Logs

OpenViking Version

0.2.14

Python Version

3.11

Operating System

Linux

Model Backend

None

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions