admin管理员组文章数量:1122832
I am using github copilot with the vscode remote-ssh extension on a RedHat 9.4 Server. Unfortunately the github copilot extension fails authenticate with api.github. (curl to the url is possible). When I sign out and sign in again, the Github-Copilot-Icon in the toolbar seems to look fine and also the Status says "ready" but it still doesnt work.
Here is the log-output of GitHub Copilot:
2024-11-21 10:37:52.443 [error] [auth] auth: HttpTimeoutError: Request to <; timed out after 120000ms
at /home/nwmadm/.vscode-server/extensions/github.copilot-1.245.0/lib/src/network/helix.ts:95:19
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at pue.fetch (/home/nwmadm/.vscode-server/extensions/github.copilot-1.245.0/lib/src/network/helix.ts:93:22)
... 5 lines matching cause stack trace ...
at attemptAuthentication (/home/nwmadm/.vscode-server/extensions/github.copilot-1.245.0/extension/src/auth.ts:58:9) {
cause: FetchError: tunneling socket could not be established, cause=read ETIMEDOUT
at fetch (/home/nwmadm/.vscode-server/extensions/github.copilot-1.245.0/node_modules/@adobe/helix-fetch/src/fetch/index.js:99:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at cachingFetch (/home/nwmadm/.vscode-server/extensions/github.copilot-1.245.0/node_modules/@adobe/helix-fetch/src/fetch/index.js:288:16)
at pue.fetch (/home/nwmadm/.vscode-server/extensions/github.copilot-1.245.0/lib/src/network/helix.ts:93:22)
at fetchCopilotToken (/home/nwmadm/.vscode-server/extensions/github.copilot-1.245.0/lib/src/auth/copilotToken.ts:195:16)
at authFromGitHubToken (/home/nwmadm/.vscode-server/extensions/github.copilot-1.245.0/lib/src/auth/copilotToken.ts:128:22)
at auth (/home/nwmadm/.vscode-server/extensions/github.copilot-1.245.0/extension/src/auth.ts:40:25)
at authShowWarnings (/home/nwmadm/.vscode-server/extensions/github.copilot-1.245.0/extension/src/auth.ts:131:25)
at oae.getCopilotToken (/home/nwmadm/.vscode-server/extensions/github.copilot-1.245.0/extension/src/auth.ts:174:33)
at attemptAuthentication (/home/nwmadm/.vscode-server/extensions/github.copilot-1.245.0/extension/src/auth.ts:58:9) {
type: 'system',
_name: 'FetchError',
code: 'ETIMEDOUT',
errno: -110,
erroredSysCall: 'read'
}
}
2024-11-21 10:37:52.443 [error] [auth] Request to <; timed out after 120000ms
I already deleted the .vscode-server Folder and reinstalled everything from scratch. Also, on a Redhat 7.9 server it works. There is no proxy involved. Any advice what else I could try would be very welcome. Thanks in advance!
本文标签:
版权声明:本文标题:vscode remote ssh - auth: HttpTimeoutError: Request to <https:api.github.comcopilot_internalv2token> timed out aft 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736311697a1934831.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论