Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

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

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ả

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

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

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/CopilotForXcode

Tất cả issue của github/CopilotForXcode

Issue tương tự

Thêm issue về Swift

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.