Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Bug: sign-in issue Failed to send request signInInitiate. Error: Language server error: Server unavailable ...

Aperta
#724 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
node.js, swift

Direzione di ricerca

Inizia riproducendo l'accesso a Copilot for Xcode 0.46.0 con le versioni di Xcode e macOS riportate, quindi traccia l'avvio del language-server e i fallimenti di signInInitiate nei log forniti. Conferma come viene selezionato il percorso Node configurato e se il server rimane disponibile; il lavoro è completato quando l'accesso termina senza l'errore del language-server.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

reviewed

Describe the bug

After clicking the sign-in button, I get the following error.

Failed to send request signInInitiate. Error: Language server error: Server unavailable, please make sure that:
1. The path to node is correctly set.
2. The node is not a shim executable.
3. the node version is high enough.

Actually, Node is installed on my computer, and I believe it meets the required version. (node v24.13.0)
I even installed the node via brew and removed the existing one in case there was a change, but nothing changed.
I also tried it in xcode26.0 before, then deleted it and installed 26.2, but the result was the same in both.

Versions

  • Copilot for Xcode: 0.46.0
  • Xcode: 26.2
  • macOS: 26.3

Steps to reproduce

  1. Open Github Copilot for Xcode
  2. Click "Sign In" button

Screenshots

Image Image

Logs

[2026-01-25T16:49:17.795Z] [info] [CommunicationBridge] [7654] Accepted new connection.
[2026-01-25T16:49:17.795Z] [info] [CommunicationBridge] [7654] Launching extension service app.
[2026-01-25T16:49:17.817Z] [error] [Client] [15805] Failed to update feature flags: Waiting for service to connect to the communication bridge.
[2026-01-25T16:49:17.818Z] [info] [Client] [15805] Registering bridge launch agent
[2026-01-25T16:49:17.974Z] [info] [Service] [15806] Syncing Xcode theme: Default (Dark).xccolortheme
[2026-01-25T16:49:17.991Z] [info] [Service] [15806] XPC Service started.
[2026-01-25T16:49:17.991Z] [info] [CommunicationBridge] [7654] Accepted new connection.
[2026-01-25T16:49:18.342Z] [info] [CommunicationBridge] [7654] Service app found: 15806 Optional("com.github.CopilotForXcode.ExtensionService")
[2026-01-25T16:49:18.342Z] [info] [CommunicationBridge] [7654] Service app is still valid
[2026-01-25T16:49:19.356Z] [info] [GitHubCopilot] [15806] Setting env PATH: /Users/burakcokyildirim/.bun/bin:/Users/burakcokyildirim/.pyenv/shims:/Users/burakcokyildirim/.nvm/versions/node/v24.13.0/bin:/opt/homebrew/bin:/opt/homebrew/opt/openjdk@17/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/3.12/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/Library/Apple/usr/bin:/Users/burakcokyildirim/.gem/bin:/Applications/SonarScanner/bin:/Applications/SonarQube/bin:/usr/local/bin/infer:/Users/burakcokyildirim/.spicetify:/opt/gradle/gradle-8.5/bin
[2026-01-25T16:49:19.465Z] [info] [GitHubCopilot] [15806] Starting language server in file:///Users/burakcokyildirim/Library/Application%20Support/com.github.CopilotForXcode/GitHub%20Copilot/support/, ["HOME": "/Users/burakcokyildirim", "PATH": "/Users/burakcokyildirim/.bun/bin:/Users/burakcokyildirim/.pyenv/shims:/Users/burakcokyildirim/.nvm/versions/node/v24.13.0/bin:/opt/homebrew/bin:/opt/homebrew/opt/openjdk@17/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/3.12/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/Library/Apple/usr/bin:/Users/burakcokyildirim/.gem/bin:/Applications/SonarScanner/bin:/Applications/SonarQube/bin:/usr/local/bin/infer:/Users/burakcokyildirim/.spicetify:/opt/gradle/gradle-8.5/bin:/opt/homebrew/sbin"]
[2026-01-25T16:49:19.466Z] [info] [GitHubCopilot] [15806] Running on Xcode string("26.2"), extension version string("0.46.0")
[2026-01-25T16:49:20.023Z] [error] [GitHubCopilot] [15806] Failed to send request conversation/registerTools. Error: Language server error: An unknown error occurred: unknownError(JSONRPC.ProtocolTransportError.dataStreamClosed)
[2026-01-25T16:49:20.023Z] [error] [GitHubCopilot] [15806] Failed to send request checkStatus. Error: Language server error: An unknown error occurred: unknownError(JSONRPC.ProtocolTransportError.dataStreamClosed)
[2026-01-25T16:49:20.023Z] [error] [GitHubCopilot] [15806] Failed to send request checkStatus. Error: Language server error: An unknown error occurred: unknownError(JSONRPC.ProtocolTransportError.dataStreamClosed)
[2026-01-25T16:49:20.023Z] [info] [GitHubCopilot] [15806] No previously disabled tools need to be restored
[2026-01-25T16:49:20.023Z] [info] [Client] [15806] Notify about language model tools change: 0 enabled, 0 disabled.
[2026-01-25T16:49:20.023Z] [error] [Service] [15806] Failed to read auth status: languageServerError(GitHubCopilotService.ServerError.unknownError(JSONRPC.ProtocolTransportError.dataStreamClosed))
[2026-01-25T16:49:23.040Z] [info] [CommunicationBridge] [7654] Service app found: 15806 Optional("com.github.CopilotForXcode.ExtensionService")
[2026-01-25T16:49:23.040Z] [info] [CommunicationBridge] [7654] Service app is still valid
[2026-01-25T16:49:23.045Z] [error] [GitHubCopilot] [15806] Failed to send request checkStatus. Error: Language server error: Server unavailable, please make sure that:
1. The path to node is correctly set.
2. The node is not a shim executable.
3. the node version is high enough.
[2026-01-25T16:49:27.083Z] [error] [GitHubCopilot] [15806] Failed to send request signInInitiate. Error: Language server error: Server unavailable, please make sure that:
1. The path to node is correctly set.
2. The node is not a shim executable.
3. the node version is high enough.

Additional context

Lingua principale
Swift
Stelle
6.3k
Fork
2k
Merge medio
3g 21h
PR unite (30g)
2

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/CopilotForXcode

Tutte le issue di github/CopilotForXcode

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.