Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)394k · #66

node-connect

Skill này làm gì

Skill hướng dẫn một agent AI chẩn đoán vì sao Control UI trên trình duyệt hoặc một node trên điện thoại, máy tính không kết nối được với Gateway OpenClaw. Dành cho người đang thiết lập OpenClaw trên điện thoại hoặc thiết bị thứ hai.

Khi nào nên dùng

  • ✓Khi Control UI của OpenClaw trên trình duyệt không kết nối được với Gateway.
  • ✓Khi ứng dụng điện thoại của bạn không ghép đôi được với OpenClaw hoặc liên tục bị ngắt kết nối.
  • ✓Khi một node bị mất kết nối và cần kết nối lại sau khi khởi động lại.

Liên kết skill

https://github.com/openclaw/openclaw/blob/main/skills/node-connect/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/openclaw/openclaw/blob/main/skills/node-connect/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Ứng dụng OpenClaw trên điện thoại của tôi cứ báo không kết nối được. Hãy giúp tôi tìm nguyên nhân và làm cho nó hoạt động.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill trước tiên xác định chính xác Gateway và client, rồi đọc trạng thái và nhật ký của kết nối đó. Nó chỉ sửa việc ghép đôi hoặc quyền truy cập của client đang lỗi và xác nhận client kết nối lại.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Node Connect

Goal: fix one exact client against one exact Gateway, then prove that client's fresh connection.

1. Lock the target

Record the target environment/profile, OpenClaw binary, config/state root, Gateway URL/port, and service before changing anything.

  • Use the named deployment wrapper/profile for every config, log, service, device, and node command.
  • Never drift to a bare openclaw, proof environment, or similarly named deployment.
  • If the global executable is stale, invoke the target through its owner.
  • Verify status, config, logs, and process identity describe the same Gateway.

Identify the target Gateway before changing pairing or auth.

2. Classify the client

Classify from the request and Gateway log before choosing commands:

  • Control UI browser: the user says browser, dashboard, Control UI, or webchat; logs show client=openclaw-control-ui or mode=webchat.
  • Native mobile/node: the official app shows Connect, Scan QR, or setup code; logs/request metadata show a native client or role=node.

A phone can be either client. Do not use openclaw qr or openclaw nodes status for a phone browser; those belong to native mobile/node pairing.

3. Observe the failing attempt

Run these through the locked target:

openclaw gateway status --deep
openclaw logs --follow --json
openclaw devices list
openclaw config get gateway.mode
openclaw config get gateway.bind
openclaw config get gateway.remote.url
openclaw config get gateway.auth.mode
openclaw config get gateway.auth.allowTailscale
openclaw config get gateway.tailscale.mode

Have the client retry once while logs are live. Correlate its client ID, mode, platform, address, auth result, device ID, user, and close code. Ignore other paired devices.

Interpret the first failed transition:

  • No matching Gateway attempt: route, DNS, TLS, origin, or proxy problem.
  • token_missing, password_missing, mismatch, or Tailscale identity failure: auth failed before pairing, so an empty pending list is expected.
  • pairing required: route and auth succeeded; approve the exact pending request.
  • client connected: match conn, client, mode, and role to the exact client. Admission precedes the hello response; if followed by 1006, preserve auth/pairing and inspect hello delivery, lifecycle, transport, proxy, or reconnect. Older builds use overlapping authenticated user connected / webchat connected records that omit ephemeral clients.
  • 1006 without a matching application-level admission record does not prove auth/pairing; inspect the earlier handshake transition.

4. Prove the route

Choose one topology: same machine, LAN, tailnet, or public reverse proxy. Do not mix them.

  • Browser Control UI needs HTTPS or localhost for browser device identity. A remote plain-HTTP Tailnet/LAN URL is not a valid substitute.
  • gateway.tailscale.mode=off means OpenClaw is not managing Serve/Funnel. It does not prove that Tailscale or an externally managed Serve route is absent.
  • When Tailscale is involved, inspect live state rather than inferring it from OpenClaw config:
tailscale status --json
tailscale serve status --json

Match the client's URL to the listener/proxy route reaching the locked Gateway.

5A. Control UI browser lane

Restore browser auth before looking for a pairing request:

  • For token/password auth, enter the credential in Control UI settings. Never put permanent secrets in chat, logs, or URLs.
  • Prefer openclaw dashboard on the Gateway host for a one-time signed handoff. Use --no-open only when the operator can retrieve that host's clipboard, and keep the host browser/clipboard outside agent tooling. Never capture dashboard --json: it can expose the handoff and shared credentials. Never relay, rewrite, or send a loopback handoff URL to a remote phone.
  • For Tailscale Serve, verify the live route and forwarded identity. Enable gateway.auth.allowTailscale only for that intended trust boundary. Verified Tailscale Control UI auth with browser device identity can skip pairing.

After auth succeeds:

  • Retry; never infer pairing from the pre-auth attempt. Token/password auth can reveal pairing required; verified Tailscale identity can skip it.
  • If logs say pairing required, re-list devices and approve the exact request ID.
  • A successful verified-Tailscale connection may correctly create no pending or paired-device row.
  • After a repeated 1006, preserve auth/pairing and inspe
Câu hỏi thường gặp

Có giống nhau với điện thoại và trình duyệt không?

Không hoàn toàn. Control UI trên trình duyệt và node gốc trên điện thoại dùng các đường ghép đôi khác nhau, nên skill xác định client trước.

Nó có thay đổi Gateway cho mọi thiết bị không?

Không. Nó chỉ làm việc với đúng một client trên đúng một Gateway, nên các thiết bị khác không bị ảnh hưởng.

Nó kiểm tra những gì?

Nó xem trạng thái Gateway, nhật ký, các thiết bị đã kết nối và chế độ Gateway trong cấu hình.

Chi tiết

Mô tả gốc của tác giả

Diagnose OpenClaw Control UI browser and native Android, iOS, or macOS node connection failures across route, auth, pairing, QR/setup-code, and reconnect states.

repo: openclaw/openclaw

Độ phổ biến

Sao GitHub
394k
Vị trí xếp hạng
#66
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự