Connector Fix: Troubleshooting WorkBuddy OAuth Authorization Failures and Registry Repair

Introduction

When binding QQ Mail, NetEase Mail, Feishu, or other OAuth-based connectors in WorkBuddy, the UI may only display “Authorization Timeout,” while the logs reveal errors such as 0x800401F5, Application not found, SSE error 405, or streamableHttp connect failed. These errors may look like network or server-side issues, and troubleshooting often involves digging through logs, testing MCP endpoints, and cross-referencing the Windows Registry. The community Skill “Connector Fix” (@user_c00f577c/lianjieqixiufu) chains together diagnosis, root-cause identification, registry repair, and re-verification into a fixed workflow, making it well-suited for an Agent to execute step by step.

What This Is

“Connector Fix” is a community Skill on SkillHub, with the identifier @user_c00f577c/lianjieqixiufu, currently at version 1.0.0. It is categorized under it-ops-security with the tag requires_api_key=false—no API Key is required. Official page: SkillHub - Connector Fix.

It targets the scenario of WorkBuddy failing to connect to third-party OAuth connectors on Windows. Per the SKILL.md specification, it guides the Agent through the following: confirming the connector and error type from logs, ruling out network issues, focusing on whether the default browser ProgId points to an uninstalled program, then performing an HKCU registry override or guiding the user to change the system default browser, and finally re-verifying the connection in WorkBuddy.

Core Capabilities

Based on the installed SKILL.md (v1.0.0), the Skill covers the following capabilities:

  1. Trigger detection: Matches conditions such as streamableHttp connect failed (including 0x800401F5), sse connect failed (405), “Authorization Timeout,” and “Application not found” to determine whether this Skill should be invoked.
  2. Four-step diagnosis: Log identification → Network exclusion (curl against MCP and OAuth discovery endpoints) → Default browser registry diagnosis → Enumerating available Chrome/Edge paths on the local machine.
  3. Remediation: Recommends overriding the open command at HKCU\Software\Classes\<ProgId>\shell\open\command (no administrator privileges needed); the alternative is to guide the user to switch the web browser in Windows “Default Apps.”
  4. Verification and root-cause explanation: Confirms the HKCU entry is effective, asks the user to reconnect the connector until it reaches connected status, and provides a causal-chain explanation from “stale ProgId” to “Authorization Timeout.”

The output format consists of bash / PowerShell commands and configuration instructions in Markdown, for the Agent to execute in a terminal or relay to the user.

Installation & Activation

Follow the official SkillHub instructions for installation: first ensure the skillhub CLI is installed locally (see SkillHub Installation Docs), then install the Skill into the current Agent’s skills directory; when --dir is not specified, it defaults to ./skills/, which the Agent may not be able to load.

Generic install command:

skillhub install lianjieqixiufu --namespace user_c00f577c --dir <your Agent skills directory>

Example skills directories per environment (from SkillHub installation docs):

Agent Skills directory
WorkBuddy ~/.workbuddy/skills/
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project

In the WorkBuddy scenario, set --dir to ~/.workbuddy/skills/. After installation, restart or refresh the skill list as required by your Agent so that connector-oauth-fix (the name field in the package) takes effect.

SkillHub search example:

skillhub search lianjieqixiufu

Typical Usage

A user or ops engineer simply describes the connector authorization failure in the conversation and pastes the relevant error messages; the Agent reads the Skill and proceeds in the following order (consistent with the official SKILL.md).

1. Identify the connector and URL from WorkBuddy logs

grep -i "streamableHttp\|0x800401F5\|sse connect\|405\|Authorization Timeout" ~/.workbuddy/logs/$(date +%Y-%m-%d)/*.log | tail -30

2. Rule out MCP and OAuth discovery endpoint unreachability

Replace <target-domain> with the actual host from the logs:

curl -s -o /dev/null -w "%{http_code}" "https://<target-domain>/mcp"
curl -s "https://<target-domain>/.well-known/oauth-protected-resource" | head -20

If the endpoints respond normally but the local connection still fails, continue checking whether the executable file corresponding to the default browser ProgId (e.g., ChromeCoreHTM, SogouExplorerHTML) still exists.

3. Override the open command in HKCU (example: stale ProgId pointing to Edge)

New-Item -Path "HKCU:\Software\Classes\ChromeCoreHTM\shell\open\command" -Force | Out-Null
Set-ItemProperty -Path "HKCU:\Software\Classes\ChromeCoreHTM\shell\open\command" -Name "(Default)" -Value '"C:\Program Files\Microsoft\Edge\Application\msedge.exe" --single-argument %1'

4. Verify and reconnect the connector in WorkBuddy, confirming the status reaches connected.

The skill-card additionally recommends: export the original registry key before making changes, and view only the necessary log lines to avoid exposing OAuth tokens or credentials.

Use Cases & Caveats

Who it’s for

  • Developers or ops engineers who use WorkBuddy and primarily connect OAuth connectors such as QQ Mail, NetEase Mail, and Feishu on a Windows environment.
  • Teams that want the Agent to execute grep, curl, registry lookups, and HKCU fixes from a checklist, rather than searching for error codes piecemeal.

Limitations & notes

  • The root-cause hypothesis centers on “the default browser ProgId points to an uninstalled program”; if the browser executable exists but the connection still fails, the Skill advises investigating proxies, firewalls, or DNS.
  • Option A only affects the current user; for a long-term fix, it is still recommended to formally change the default web browser in system settings.
  • The Skill guides modifications to the current user’s registry—verify the ProgId and browser path before executing.
  • SkillHub page statistics (based on scraped data): rating 100000, 804 downloads, 0 installs; api.skillhub.cn resource URL: https://api.skillhub.cn/user_c00f577c/lianjieqixiufu.

Closing

“Connector Fix” narrows down WorkBuddy connector OAuth failures from log-level symptoms to the Windows browser launch chain, and provides copy-paste-ready diagnostic commands and an HKCU repair template. If you’re encountering the errors described above, you can install @user_c00f577c/lianjieqixiufu via SkillHub, then describe the failing connector and the exact error text in an Agent conversation, and proceed through the Skill’s four-step workflow.

Official entry point: https://www.skillhub.cn/skills/user_c00f577c/lianjieqixiufu

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye