【问题标题】:Github Copilot Stop Working, Error parsing extraData: service unavailableGithub Copilot 停止工作,解析 extraData 时出错:服务不可用
【发布时间】:2021-09-09 14:28:15
【问题描述】:

直到最近(可能是 2021 年 9 月上旬)我还在使用 github copilot,突然注意到副驾驶停止显示建议。

我检查了 VSCode 中的日志,每次都显示类似的输出

[INFO] [ghostText] [2021-09-09T14:23:50.510Z] Breaking, no choices
[INFO] [default] [2021-09-09T14:23:58.685Z] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex
[INFO] [ghostText] [2021-09-09T14:23:58.876Z] Breaking, no choices
[INFO] [default] [2021-09-09T14:23:58.989Z] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex
[INFO] [default] [2021-09-09T14:23:59.313Z] request.response: [https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions] took 323 ms
[ERROR] [streamChoices] [2021-09-09T14:23:59.314Z] Error parsing extraData: service unavailable

我尝试搜索这个问题(google、StackOverflow、GitHub 问题等),但遗憾的是仍然没有答案。想知道是否有人遇到类似问题并且可能已经找到解决方案?谢谢。

【问题讨论】:

    标签: github visual-studio-code vscode-extensions github-copilot


    【解决方案1】:

    显然,我设法通过经典的注销登录解决方案解决了这个问题。

    1. 在 VSCode 中从 GitHub 帐户退出
    2. 关闭 VSCode
    3. 打开 VSCode,copilot 会提示你登录 GitHub 以使用该功能。
    4. 瞧,副驾驶又开始工作了

    【讨论】:

      【解决方案2】:

      转到 extensions 选项卡,然后搜索 copilot,当它出现时选择它并将其更新到新的建议版本,然后重新加载 VSCode 编辑器,当您重新加载 copilot 时会提示您接受遥测术语,点击Agree继续使用这个扩展:

      【讨论】:

        猜你喜欢
        • 2022-06-17
        • 2017-12-10
        • 1970-01-01
        • 2023-02-17
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2022-07-05
        • 1970-01-01
        相关资源
        最近更新 更多