Issue with GitHub Copilot CLI authentication when using a proxy in WSL #54066
Replies: 2 comments
-
|
I met the same issue too. Does anyone know how to solve this ? |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Stale Discussion Alert 🕒 This Discussion has been labeled as stale by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This stale notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
I am a Chinese GitHub user and I am having an issue with GitHub Copilot CLI. I am using it on Arch Linux under WSL and I have configured a proxy to access the Internet. However, it seems that the
github-copilot-cli authcommand does not work with the proxy.nO [AxiosError]: Request failed with status code 503 at HC (/usr/lib/node_modules/@githubnext/github-copilot-cli/dist/index.js:532:11544) at IncomingMessage.<anonymous> (/usr/lib/node_modules/@githubnext/github-copilot-cli/dist/index.js:533:10959) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1359:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { code: 'ERR_BAD_RESPONSE', ...I have tested the proxy by running
curl https://copilot-proxy.githubusercontent.com/_pingand I get the following response:{"now":1682821970,"status":"ok"}Can anyone help me with this issue? Is there a way to make github-copilot-cli auth work with a proxy in WSL?
Thank you very much for your help!
Beta Was this translation helpful? Give feedback.
All reactions