登录GitHub 授权后一直提示:waiting for github Authentication…
原因 GitHub Copilot更新后需要付费,但任然免费到8月22日,需要在GitHub中设置Copilot账号信息
解决方法
【1】设置主机hosts
打开文件路径C:\Windows\System32\drivers\etc 修改hosts文,加入如下
140.82.112.21 central.github.com
185.199.108.133 desktop.githubusercontent.com
185.199.108.153 assets-cdn.github.com
185.199.108.133 camo.githubusercontent.com
185.199.108.133 github.map.fastly.net
199.232.69.194 github.global.ssl.fastly.net
140.82.114.4 gist.github.com
185.199.108.153 github.io
140.82.112.3 github.com
140.82.114.5 api.github.com
185.199.108.133 raw.githubusercontent.com
185.199.108.133 user-images.githubusercontent.com
185.199.108.133 favicons.githubusercontent.com
185.199.108.133 avatars5.githubusercontent.com
185.199.108.133 avatars4.githubusercontent.com
185.199.108.133 avatars3.githubusercontent.com
185.199.108.133 avatars2.githubusercontent.com
185.199.108.133 avatars1.githubusercontent.com
185.199.108.133 avatars0.githubusercontent.com
185.199.108.133 avatars.githubusercontent.com
140.82.113.9 codeload.github.com
52.216.171.43 github-cloud.s3.amazonaws.com
52.217.33.196 github-com.s3.amazonaws.com
52.216.93.147 github-production-release-asset-2e65be.s3.amazonaws.com
52.216.93.147 github-production-user-asset-6210df.s3.amazonaws.com
52.217.207.33 github-production-repository-file-5c1aeb.s3.amazonaws.com
185.199.108.153 githubstatus.com
64.71.144.211 github.community
185.199.108.133 media.githubusercontent.com
185.199.108.133 objects.githubusercontent.com
185.199.108.133 raw.github.com
修改完成后使用cmd命令刷新DNS ipconfig /flushdns
【2】修改idea中的代理
打开idea中的配置,设置一下配置
【3】重新安装Github Copilot 授权登录
如还提示Your Copilot experience is not fully configured, complete your setup.
需要登录GitHub上,选择设置
找到左侧Copilot
需要配置Copilot中缴费账号后即可使用