Bug: sign-in issue Failed to send request signInInitiate. Error: Language server error: Server unavailable ...
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- node.js, swift
- Lĩnh vực
- desktop, developer-experience
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện việc đăng nhập vào Copilot for Xcode 0.46.0 với các phiên bản Xcode và macOS được báo cáo, sau đó truy vết quá trình khởi động language-server và các lỗi signInInitiate trong các log được cung cấp. Xác nhận cách chọn đường dẫn Node đã cấu hình và liệu máy chủ có tiếp tục khả dụng hay không; được xem là hoàn tất khi việc đăng nhập hoàn thành mà không có lỗi language-server.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
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
- Open Github Copilot for Xcode
- Click "Sign In" button
Screenshots
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
- Ngôn ngữ chính
- Swift
- Star
- 6.3k
- Fork
- 2k
- Merge trung bình
- 3 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 2
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/CopilotForXcode
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
github/CopilotForXcode#181 · 2 reaction ·
-
Add ability to attach Copilot window only to Xcode projects/workspaces, ignoring standalone files Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
github/CopilotForXcode#945 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
github/CopilotForXcode#943 ·
-
Luisgerardomartinezlara Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
github/CopilotForXcode#936 · 2 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
github/CopilotForXcode#934 ·
Tất cả issue của github/CopilotForXcode
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
manaflow-ai/cmux#13763 ·
-
type: feature request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
googleapis/google-cloud-swift#1036 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
wultra/mtoken-sdk-ios#253 ·
-
The correction-threshold rationale says 17 restraint cases collide; the current corpus has 16 Đang mởarea:dictation documentation P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
uttrflow/uttrflow-swift#1180 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100