openclaw - ✅(Solved) Fix fix(gateway): stale device repair request blocks all RPC operations (1008 pairing required) [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#60747Fetched 2026-04-08 02:47:37
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
referenced ×3cross-referenced ×1

Fix Action

Fixed

PR fix notes

PR #60754: fix: prevent duplicate device repair requests for already-paired devices

Description (problem / solution / changelog)

Summary

Fix issue #60747 where a stale repair request in blocks /RPC calls with 1008 pairing required.

Problem

When a device that is already paired attempts to connect, creates a new pending repair request even though the device is already paired. This creates stale entries in that can cause:

  • and to fail with 1008 pairing required
  • Unnecessary pending requests for already-paired devices
  • Confusion in the pairing state management

Solution

When is called for an already-paired device and there is no existing pending request, we now return instead of creating a new pending repair request.

The message-handler now handles the status by proceeding with the connection without requiring additional pairing approval.

Changes

  • : Added type with status, and modified to return this status when the device is already paired
  • : Handle status by proceeding without requiring pairing approval

Testing

The existing test "preserves existing token scopes when approving a repair without requested scopes" tests the old behavior where a repair request was created for an already-paired device. This test will need to be updated to reflect the new behavior where no repair request is created for already-paired devices.

Changed files

  • extensions/feishu/src/channel.ts (modified, +26/-23)
  • src/gateway/server/ws-connection/message-handler.ts (modified, +4/-0)
  • src/infra/device-pairing.ts (modified, +13/-6)
  • src/infra/update-runner.ts (modified, +94/-0)
  • src/infra/update-startup.ts (modified, +33/-1)
RAW_BUFFERClick to expand / collapse

file:///root/.openclaw/workspace/memory/tmp-issue-body.md

extent analysis

TL;DR

Since there is no issue body provided, a specific fix or workaround cannot be determined.

Guidance

  1. Review the issue body: Carefully examine the issue description to identify key details such as error messages, system configurations, or code snippets that may point to the root cause.
  2. Check for similar issues: Search for similar problems in the project's issue tracker or online forums to see if others have encountered and resolved the same issue.
  3. Gather more information: If possible, collect additional details about the issue, such as system logs, version numbers, or reproduction steps, to help narrow down the potential causes.

Notes

Without the actual issue body, it's challenging to provide a more specific solution or guidance. The steps above are general and intended to help move toward a solution by gathering more information.

Recommendation

Apply workaround: Given the lack of information, it's safer to recommend a cautious approach, such as applying a workaround if one becomes available after further investigation, rather than attempting a potentially incorrect fix.

FAIL-SAFE: Given the absence of an issue body, the guidance provided is minimal and focused on safe, initial steps to take when encountering an unspecified problem.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING