Skip to content

[Bug]: [Windows + pnpm] Gateway dashboard returns 404 after upgrading from 2026.3.2 to 2026.3.7 #40551

@742425545

Description

@742425545

Bug type

Regression (worked before, now fails)

Summary

After upgrading OpenClaw from 2026.3.2 to 2026.3.7, the Gateway Dashboard becomes inaccessible. The root path
http://127.0.0.1:18789/ returns 404 Not Found instead of serving the control UI.

Steps to reproduce

  1. Install OpenClaw 2026.3.7:
    pnpm install -g [email protected]
  2. Start the Gateway:
    openclaw gateway start
  3. Open browser to: http://127.0.0.1:18789/

Expected behavior

The OpenClaw Dashboard should load and display the control UI interface.

Actual behavior

The root path returns 404 Not Found with response body:
Not Found

OpenClaw version

2026.3.7

Operating system

windows 11

Install method

pnpm install -g [email protected]

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

  • The issue appears to be in the HTTP routing layer, not the Gateway core functionality
  • Static files exist but are not being served by the HTTP server
  • The resolveControlUiRootSync() function may not be correctly resolving the pnpm installation path in Windows
  • The /__openclaw/control-ui-config.json endpoint works, suggesting the control-ui routes are registered but static
    file serving is broken

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