github / github/app

Windows app 1.1.21 hangs during GitHub authentication without generating a device code

Offen
#3,935 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Keine Sprachdaten
Sterne
2.1k
Forks
157
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Short summary

The Windows GitHub Copilot app gets stuck during GitHub authentication. It displays Opening GitHub.com to authorize... and then shows - - - - - - - - with Copying code to clipboard..., but never generates an actual device code.

Affected version or release

GitHub Copilot app 1.1.21

Installation context

Windows 11. Installed for the current Windows user. The issue affects the Windows GitHub Copilot app only. Copilot CLI in WSL remains installed and functional (version 1.0.83).

What happened?

After installing GitHub Copilot for Windows and attempting to sign in to GitHub, the app displays:

Opening GitHub.com to authorize...

The device-code field remains:

- - - - - - - -

and the app displays:

Copying code to clipboard...

The app remains stuck indefinitely and never provides an actual device code.

The GitHub device authorization page (https://github.com/login/device) can be opened successfully in the browser, and the GitHub account is already signed in there. Windows clipboard functionality also works normally.

I completely removed the Windows GitHub Copilot app and its app-specific WebView2/application data, rebooted Windows, and reinstalled version 1.1.21. The exact same authentication problem occurs after the clean reinstall.

The Copilot CLI in WSL works independently, and it was not modified during this troubleshooting.

While the Windows app is stuck, the github.exe process has local 127.0.0.1 connections but no established direct remote HTTPS (:443) connection.

Steps to reproduce

  1. Install GitHub Copilot app 1.1.21 on Windows 11.
  2. Launch the GitHub Copilot app.
  3. Start the GitHub sign-in/authentication flow.
  4. Observe Opening GitHub.com to authorize....
  5. Observe that the device-code field remains - - - - - - - -.
  6. Observe Copying code to clipboard....
  7. The application remains stuck and no device code is generated.

Expected behavior

The application should generate a valid device code and complete the GitHub authentication flow.

Additional context

  • Windows 11
  • GitHub Copilot app 1.1.21
  • Copilot CLI in WSL 1.0.83 works normally
  • GitHub website is reachable from Windows
  • https://github.com/login/device opens successfully in the browser
  • Windows clipboard functionality works normally
  • The Windows app was completely removed and reinstalled, including its app-specific WebView2/application data
  • The issue reproduces after the clean reinstall
  • Screenshot attached showing the authentication screen with the missing device code

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Reproduziere den Anmeldeablauf in der GitHub Copilot-App 1.1.21 unter Windows 11 und untersuche den Prozess github.exe, während er auf dem Gerätecode-Bildschirm bleibt. Vergleiche das Verhalten der App mit https://github.com/login/device und der funktionierenden Copilot CLI in WSL; als abgeschlossen gilt die Aufgabe, wenn ein gültiger Gerätecode generiert wird und die Authentifizierung abgeschlossen ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
github
Bereich
authentication, desktop
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
42/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.