Skip to content

[DGX Spark][CLI&UX] WhatsApp QR code renders too large in terminal — fills entire screen, impossible to scan #4522

@mercl-lau

Description

@mercl-lau

Description

WhatsApp pairing QR code renders at full terminal width, filling the entire screen. The QR code is so large that a phone camera cannot capture it in a single frame, making pairing impossible. Additionally, after the QR code display, the gateway connection fails with a 1008 abnormal closure.

Environment

Device:        DGX Spark
OS:            Ubuntu 24.04 (aarch64)
Architecture:  aarch64
Node.js:       v22.22.3
npm:           10.9.8
Docker:        Docker Engine 29.x
OpenShell CLI: 0.0.44
NemoClaw:      v0.0.54
OpenClaw:      v2026.5.22

Steps to Reproduce

  1. nemoclaw onboard with WhatsApp channel enabled (or nemoclaw channels add whatsapp)
  2. nemoclaw my-assistant connect
  3. Run WhatsApp pairing command inside sandbox: openclaw channels login --channel whatsapp
  4. Observe the QR code rendered in terminal

Expected Result

QR code renders at a reasonable size (approximately 30-40 terminal lines) so a phone camera can capture and scan it for pairing.

Actual Result

QR code fills the entire terminal window (appears to be ~80+ lines tall), making it impossible to scan with a phone camera. The bottom of the terminal shows gateway connection errors:

gateway closed (1008 abnormal closure (no close frame)): no close reason.
Gateway target: ws://127.0.0.1:18789
Source: env OPENCLAW_GATEWAY_URL
Config: /sandbox/.openclaw/openclaw.json

Possible causes:
- Gateway not yet ready to accept connections (retry after a moment)
- Try wss:// (connecting with ws:// to a wss:// gateway, or vice versa)
- Gateway crashed or was terminated unexpectedly
- `openclaw doctor` for diagnostics

Logs

Not captured — observed visually on terminal screen (screenshot available).


NVB#6241415

Metadata

Metadata

Assignees

No one assigned

    Labels

    Integration: WhatsAppUse this label to identify WhatsApp communication integration issues with NemoClaw.NV QABugs found by the NVIDIA QA TeamNemoClaw CLIUse this label to identify issues with the NemoClaw command-line interface (CLI).Platform: DGX SparkSupport for DGX SparkbugSomething isn't workingv0.0.56Release target

    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