Skip to content

Bug: ViewerService registered via registerService() but never started by OpenClaw Gateway #1420

@Aeglx

Description

@Aeglx

Bug: ViewerService Never Started

The ViewerServer registered via api.registerService() is never started by the OpenClaw Gateway. Plugin initializes correctly but service.start() is never called.

Environment:

  • OpenClaw: 2026.4.2
  • memos-local-openclaw-plugin: 1.0.6-beta.11
  • Node.js: v22.22.2

Steps to Reproduce:

  1. Install memos-local-openclaw-plugin
  2. Configure with valid API keys
  3. Start OpenClaw Gateway
  4. Observe — plugin initialized logs, but started never appears

Gateway Log Evidence:

2026-04-04T00:32:50 memos-local: initialized (db: /root/.openclaw/memos-local/memos.db)
2026-04-04T00:32:50 memos-local: allowPromptInjection=true, auto-recall enabled
2026-04-04T00:32:50 watchdog detected non-announced service

The watchdog detects the service is not announced, but does not start it.

Question: Is registerService supposed to auto-start the service? What is the correct integration pattern for a plugin that needs to start a long-running HTTP server?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions