Authentication fails on WSL despite correct environment and localhost networking
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- node.js, ubuntu, vim
調査の方向性
:Copilot setup の背後にある実装と、Vim に "Waiting..." と表示されたままになる認証コールバックから始めます。報告されている Ubuntu、Vim、Node のバージョンを使って WSL 2 上でフローを再現し、localhost テストの詳細をコンテキストとして使用します。ブラウザー認証が完了し、コールバックが Vim に到達し、Copilot が認証済み状態を報告すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The Copilot for Vim extension fails to complete the authentication process on my WSL (Ubuntu 24.04) setup. The authentication is successful in the browser, but the callback to Vim never completes, and Vim remains stuck on the "Waiting..." message.
I have performed this troubleshooting and can confirm the issue is not with my local environment.
Symptom:
Running :Copilot setup provides a code.
Authenticating in a browser (running inside WSL) succeeds with the "Congratulations, you're all set!" message.
Vim remains stuck on "Waiting (could take up to 5 seconds)" and never receives the authentication confirmation.
Troubleshooting Steps Performed:
Plugin Version: The issue occurs on both the latest version and after downgrading to v1.41.0.
WSL-Native Browsers: The issue occurs with multiple browsers installed and running directly within WSL, including:
Firefox (installed via Snap)
Google Chrome (non-Snap Deb version)
Firewall: Confirmed that ufw is not installed or active.
Localhost Networking Test: I have confirmed that basic localhost communication within WSL is working perfectly. A Python http.server can be successfully reached from curl via localhost.
This testing suggests the issue is a bug within the Copilot agent's internal web server or its callback handling mechanism within a WSL environment.
My Environment:
OS: Windows 11
WSL Version: WSL 2
Linux Distribution: Ubuntu 24.04 LTS
Vim Version: 9.1
Node Version (in wsl): 22.16.0
Copilot Status after hang and restart: Copilot: Not authenticated. Invoke :Copilot setup (process then repeats)
(Above is AI generated)
- 主要言語
- Vim Script
- スター
- 11.7k
- フォーク
- 812
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/copilot.vim のほかの issue
-
No link to DeepWiki オープン
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
github/copilot.vim#303 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/copilot.vim#276 · コメント 1 件 · リアクション 1 件 ·
-
Neomarley オープン
難易度 5/5 1週間以上 初心者へのやさしさ 1/100
github/copilot.vim#304 · リアクション 1 件 ·
-
Readme. オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 20/100
github/copilot.vim#302 · コメント 4 件 ·
-
Micky オープン
難易度 5/5 1週間以上 初心者へのやさしさ 1/100
github/copilot.vim#301 ·
github/copilot.vim の issue をすべて見る
似ている issue
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
AOSSIE-Org/DebateAI#582 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
oasisprotocol/oasis-sdk#2523 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
cost:cheap severity:medium
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
fairagro/m4.2_sql_to_arc#227 ·