Skip to content

CLI commands fail to connect when gateway is bound to Tailnet #176

@ratulsarna

Description

@ratulsarna

Description

After completing onboarding with Gateway bind set to Tailnet, CLI commands like clawdis health fail with a timeout error.

Steps to reproduce

  1. Run clawdis onboard
  2. Select Local for gateway location
  3. Select Tailnet for Gateway bind
  4. Complete the rest of onboarding
  5. Start the gateway: pnpm clawdis gateway
  6. Run pnpm clawdis health

Expected behavior

clawdis health should connect to the running gateway and display health status.

Actual behavior

Error: gateway timeout

The gateway is running and reachable (HTTP returns 200, Control UI loads in browser), but CLI commands cannot connect.

Environment

  • Clawdis v2.0.0-beta5
  • macOS
  • Tailscale configured and connected

Workaround

Manually editing ~/.clawdis/clawdis.json to change mode from "local" to "remote" and duplicating the token into gateway.remote.token resolves the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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