본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)394k · #66

node-connect

하는 일

AI 에이전트가 브라우저 Control UI나 휴대폰, 컴퓨터 노드가 OpenClaw Gateway에 연결되지 못하는 이유를 진단하도록 안내합니다. 휴대폰이나 두 번째 기기에 OpenClaw를 설정하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓브라우저의 OpenClaw Control UI가 Gateway에 연결되지 않을 때.
  • ✓휴대폰 앱이 OpenClaw와 페어링되지 않거나 계속 연결이 끊길 때.
  • ✓재시작 후 노드의 연결이 끊어져서 다시 연결해야 할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/openclaw/openclaw/blob/main/skills/node-connect/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“휴대폰의 OpenClaw 앱이 계속 연결할 수 없다고 나옵니다. 원인을 찾아서 작동하게 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 먼저 정확한 Gateway와 클라이언트를 확인한 다음, 그 연결의 상태와 로그를 읽습니다. 실패한 클라이언트의 페어링이나 접근 권한만 고치고, 그 클라이언트가 다시 연결되는지 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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
자주 묻는 질문

휴대폰과 브라우저에서 작동 방식이 같나요?

완전히 같지는 않습니다. 브라우저 Control UI와 휴대폰 노드는 서로 다른 페어링 경로를 쓰므로, 스킬은 먼저 클라이언트를 확인합니다.

모든 기기에 대해 Gateway를 바꾸나요?

아닙니다. 정확한 하나의 클라이언트와 정확한 하나의 Gateway만 대상으로 하므로 다른 기기는 건드리지 않습니다.

무엇을 확인하나요?

Gateway 상태, 로그, 연결된 기기, 설정의 Gateway 모드를 확인합니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
394k
순위
#66
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬