github / github/CopilotForXcode

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

Đang mở
#724 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
reviewed
Ngôn ngữ chính
Swift
Star
6.3k
Fork
2k
Merge trung bình
2 phút
Pull request đã merge (30 ngày)
2

Mô tả

**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**

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.