Skip to content

Molty v0.6.0 Node Mode: WebSocket handshake fails with code 1006 on Gateway v2026.5.28 (WSL2) #667

Description

@schlesimu

Bug: Device token mismatch + code 1006 preventing node mode connection

Environment

  • Gateway: OpenClaw 2026.5.28 (WSL2 Ubuntu, loopback, port 18789)
  • Molty: OpenClaw Windows Tray v0.6.0 (Windows 11)
  • Auth mode: token (shared gateway token)

Summary

Molty operator connection (Quick Send) works fine, but Node Mode never connects. The node WebSocket handshake consistently fails with code 1006.

Steps to Reproduce

  1. Install Gateway v2026.5.28 on WSL2 Ubuntu
  2. Install Molty v0.6.0 on Windows 11
  3. Connect to ws://127.0.0.1:18789 with shared token
  4. Enable Node Mode
  5. Approve device pairing requests
  6. Node WebSocket always closes with code 1006

Observed Behavior

  1. Device re-approval loop: Every Molty restart → device_token_mismatch
  2. Node handshake fails: [ws] closed before connect code=1006
  3. allowCommands not recognized: Gateway returns "node did not declare any supported commands" despite Molty declaring 25 commands

Additional Bug: TTS Crash

When VoiceTtsEnabled=true, Molty crashes:
System.DllNotFoundException: Unable to load DLL 'sherpa-onnx-c-api' (0x8007045A)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal priority bug or improvement with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerThis issue is about auth, provider routing, model choice, or SecretRef resolution.impact:crash-loopThis issue is about crashes, hangs, restart loops, or process-level availability.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.

    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