Skip to content

[Bug]: Gateway restart failed #28134

@MoonEsther

Description

@MoonEsther

Summary

like this

[3/3] Finalizing setup
· Refreshing loaded gateway service
✓ Gateway service metadata refreshed
✗ Restarting gateway service failed — re-run with --verbose for details
Restarted systemd service: openclaw-gateway.service
Timed out after 60s waiting for gateway port 18789 to become healthy.
Gateway process is running but port 18789 is still free (startup hang/crash loop or very slow VM startup).
Service runtime: status=running, state=active, pid=1921, lastExit=0
Gateway port 18789 status: free.
Gateway restart timed out after 60s waiting for health checks.
! Gateway service restart failed; continuing
· Running doctor to migrate settings
✓ Doctor complete

Restarted systemd service: openclaw-gateway.service



◇ Gateway ──────────────╮
│ │
│ Gateway not running. │
│ │
├────────────────────────╯

◇ Gateway connection ────────────────────╮
│ │
│ Gateway target: ws://127.0.0.1:18789 │
│ Source: local loopback │
│ Config: /root/.openclaw/openclaw.json │
│ Bind: loopback │
│ │
├─────────────────────────────────────────╯
Run "openclaw doctor --fix" to apply changes.

└ Doctor complete.

· Updating plugins
No npm-installed plugins to update.
· Gateway daemon detected; restarting
! Gateway restart failed; try: openclaw daemon restart

(base) root@admin:~# openclaw daemon restart

🦞 OpenClaw 2026.2.26 (bc50708) — Because the right answer is usually a script.

Restarted systemd service: openclaw-gateway.service
Timed out after 60s waiting for gateway port 18789 to become healthy.
Gateway process is running but port 18789 is still free (startup hang/crash loop or very slow VM startup).
Service runtime: status=running, state=active, pid=3568, lastExit=0
Gateway port 18789 status: free.
Gateway restart timed out after 60s waiting for health checks.
(base) root@admin:~#

Steps to reproduce

  1. curl -fsSL https://openclaw.ai/install.sh | bash
  2. openclaw daemon restart

Expected behavior

nothing

Actual behavior

gateway start failed

OpenClaw version

2026.2.26

Operating system

wsl

Install method

npm

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleMarked as stale due to inactivity

    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