GitHub Copilot Authentication Failure on macOS Across Multiple Editors
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- node.js, vim
- Lĩnh vực
- authentication, devtools
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lỗi với :Copilot setup trong copilot.vim và so sánh cách xử lý phản hồi với máy tính đang hoạt động. Issue không nêu tệp mã nguồn hoặc test nào, vì vậy hãy lần theo luồng xác thực xung quanh lỗi E-32603 được báo cáo và phản hồi không có content-type. Được xem là hoàn tất khi xác định được nguyên nhân là việc phản hồi bị biến đổi cục bộ trên macOS hay một thay đổi xác thực upstream, đồng thời ghi lại một bản sửa lỗi hoặc chẩn đoán có thể tái hiện.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
GitHub Copilot Authentication Failure on macOS Across Multiple Editors
Summary
GitHub Copilot authentication fails on one specific macOS machine across multiple editors/applications despite:
- clean network tests
- no proxy configured
- valid GitHub TLS certificates
- firewall/security tools disabled
- hotspot testing
- successful operation on another computer on the same network
The issue appears local to this Mac.
Environment
Hardware / OS
- macOS
- Apple Silicon MacBook Pro (M4 Max)
Editors / Clients Affected
- Neovim + copilot.vim
- Zed
Versions
copilot.vim
copilot.vim 1.59.0
GitHub Copilot Language Server 1.485.0
Node
Initially tested with:
Node.js 24
Also tested with latest LTS Node.
Symptoms
Neovim / copilot.vim
Authentication fails during:
:Copilot setup
Observed errors:
E-32603
Response content-type is missing (status=200)
and:
HTTP 200 response does not appear to originate from GitHub
Zed
- Unable to log into GitHub Copilot at all
- Inline predictions cannot initialize because auth never completes
Important Observation
A different computer on the SAME network can authenticate and use GitHub Copilot successfully.
This strongly suggests the issue is local to this specific Mac.
Network / TLS Diagnostics
Proxy Checks
env | grep -i proxy
git config --global --get http.proxy
git config --global --get https.proxy
npm config get proxy
npm config get https-proxy
Results:
No proxy configured
npm proxy values = null
System Proxy
scutil --proxy
networksetup -getwebproxy Wi-Fi
networksetup -getsecurewebproxy Wi-Fi
Results:
Enabled: No
TLS / Connectivity Tests
GitHub API
curl -Iv https://api.github.com
Results:
- Valid TLS
- Correct GitHub certificate
- HTTP/2 200
- content-type: application/json
Issuer:
Sectigo Public Server Authentication CA DV E36
GitHub Device Login Endpoint
curl -Iv https://github.com/login/device/code
Results:
- Valid TLS
- GitHub headers present
- HTTP/2 404 (expected for HEAD request)
Copilot API
curl -Iv https://api.githubcopilot.com
Results:
- Valid TLS
- Correct GitHub Copilot certificate
- HTTP/2 404
- GitHub backend headers present
Remediation Attempts
Disabled Security Tools
- Firewall disabled
- Little Snitch disabled
No change.
Network Isolation
- Tested via hotspot
No change.
Cache Removal
Removed:
~/.cache/github-copilot
~/.cache/copilot.vim
~/.npm/_npx
~/Library/Application Support/Zed
~/Library/Caches/Zed
~/Library/Logs/Zed
No change.
Reinstalled copilot.vim
Original install was tarball-based.
Replaced with clean git clone:
git clone --depth=1 https://github.com/github/copilot.vim.git \
~/.config/nvim/pack/github/start/copilot.vim
No change.
Node Version Changes
Tested:
- Node 26
- Latest LTS
No change.
GitHub Auth Cleanup
- Revoked OAuth applications
- Cleared GitHub/Copilot-related Keychain entries
- Re-authenticated
No change.
Additional Notes
The error pattern appears similar to recent upstream reports involving:
Response content-type is missing (status=200)
and Copilot auth parsing failures.
Potentially related upstream issues:
- github/copilot.vim issue #281
- similar reports involving copilot-language-server auth responses
Request
Looking for guidance on:
- why this specific Mac receives/parses malformed auth responses
- whether a recent Copilot auth backend change could trigger this behavior
- additional macOS-level diagnostics for response mutation/auth parsing failures
- Ngôn ngữ chính
- Vim Script
- Star
- 11.7k
- Fork
- 812
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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/copilot.vim
-
No link to DeepWiki Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
github/copilot.vim#303 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/copilot.vim#276 · 1 bình luận · 1 reaction ·
-
Neomarley Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 1/100
github/copilot.vim#304 ·
-
Readme. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 20/100
github/copilot.vim#302 · 4 bình luận ·
-
Micky Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 1/100
github/copilot.vim#301 ·
Tất cả issue của github/copilot.vim
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
punkpeye/mcp-remote#369 ·
-
Mend: dependency security vulnerability untriaged
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
CVE-2024-24786 CPE mismatch Đang mởbug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
cisagov/vulnrichment#337 ·
-
bug DUP Reservations
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
bcgov/reserve-rec-public#896 ·