You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

IntelliJ插件中GitHub Copilot登录报错的解决方案咨询

解决IntelliJ中GitHub Copilot提示please login to github and try again的问题
  • 核对IDE的GitHub账户配置
    打开File > Settings > Version Control > GitHub,确认登录账号为拥有Copilot权限的账号;若存在多个关联账号,切换至目标账号后重启IDE。

  • 重置Copilot身份验证缓存

    1. 关闭IntelliJ
    2. 定位IDE缓存目录:
      • Windows:C:\Users\<你的用户名>\.IntelliJIdea<版本号>\system\caches
      • macOS:~/Library/Caches/JetBrains/IntelliJIdea<版本号>
      • Linux:~/.cache/JetBrains/IntelliJIdea<版本号>
    3. 删除目录内Copilot相关文件夹,重启IDE后重新完成Copilot身份验证。
  • 检查网络代理设置
    进入File > Settings > Appearance & Behavior > System Settings > HTTP Proxy,确保代理配置与访问GitHub的环境一致;无需代理时选择No proxy,设置完成后重启IDE。

  • 重新安装Copilot插件

    1. 打开File > Settings > Plugins,找到GitHub Copilot并卸载
    2. 重启IDE后重新搜索安装该插件,完成后再次验证身份。
  • 确认GitHub端Copilot授权状态
    登录GitHub官网,进入Settings > Copilot页面,确认服务处于启用状态,且账号订阅未过期。

内容的提问来源于stack exchange,提问作者Exploring

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.23 08:36:12