Desktop app (Windows): enabling remote control fails with "Failed to set up remote session" — log shows "No authentication token available; remote export disabled"
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 領域
- authentication, cli, desktop
調査の方向性
The issue is in the remote module's authentication token lookup, likely in a Rust file like remote/shared_api.rs. Start by examining the log warning 'No authentication token available; remote export disabled' and trace where the token is fetched from (CLI config vs. desktop app credentials). Check the startup sequence for 'server policy fetch skipped' and see how the app's sign-in is registered. Verify the token flow by comparing with other working contexts like the GitHub MCP server. 'Done' is when remote control can be enabled using the app's existing sign-in.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
In the GitHub Copilot desktop app on Windows, remote control can't be turned on for a session. Every attempt fails with:
Remote control unavailable
Failed to update remote control: RPC error -32603: Request session.remote.enable failed with message: Failed to set up remote session. Ensure the working directory is a GitHub repository and you are authenticated.
The working directory is a GitHub repository and the app is signed in. The runtime log shows the same warning at startup and on each enable attempt:
[WARNING] [rust:remote::shared_api] No authentication token available; remote export disabled
The app has a working GitHub token in other contexts. Inside the session, gh auth status succeeds (logged in via GH_TOKEN, scopes include repo, workflow, read:org), and the GitHub MCP server connects without problems. The remote module seems to be the only part that can't get a token.
Affected version
Desktop app runtime version 1.0.87-0. The standalone copilot CLI is not installed on this machine.
Steps to reproduce the behavior
- Open a worktree session in the desktop app for a GitHub-hosted repo (
originishttps://github.com/<owner>/<repo>.git). - Try to turn on remote control for the session, to manage it from GitHub Mobile.
- The "Remote control unavailable" error above appears.
~\.copilot\logs\process-*.logshowsNo authentication token available; remote export disabledat the time of the attempt.
Things that did not help:
- Restarting the app
- Signing out and back in to the app
- Pushing the session branch to
originand setting upstream tracking
Expected behavior
Remote control turns on and the session can be managed from GitHub Mobile, using the app's existing GitHub sign-in.
Additional context
- OS: Windows 11 Home, x86_64 (AMD64)
- Windows Credential Manager has a
...github-copilot-appentry (the app's sign-in), but there's no standalone Copilot CLI sign-in entry. ~\.copilot\config.jsonhas nologged_in_usersorlast_logged_in_user.- At startup the log also shows
server policy fetch skipped: no authenticated GitHub host availablebefore the account is picked up later. - Hypothesis: the remote module looks for the CLI's own stored sign-in instead of the credential the desktop app registers, so it finds no token. Possibly related: #4905, #4409.
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/copilot-cli のほかの issue
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
github/copilot-cli#4932 ·
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
github/copilot-cli#4909 ·
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
github/copilot-cli#4906 ·
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/copilot-cli#4848 ·
-
area:agents area:mcp
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/copilot-cli#4729 ·
github/copilot-cli の issue をすべて見る
似ている issue
-
Bob Shell support オープンenhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
tooling
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
openSUSE/python-rpm-macros#219 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
YunoHost-Apps/adguardhome_ynh#258 ·
-
steam-short-session-tracker: incorrect registry backup path resets settings during automatic repair オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
ValveSoftware/SteamOS#2829 ·