成都学生做网站,机械加工网销平台,库存网站建设公司,企业服务行业在idea使用GitHub账号、Copilot异常 登录GitHub显示
Invalid authentication data.Connection refused: connect或者副驾驶显示
Failed to initiate the GitHub login process. Please try again.一般网上的方法推荐使用token登录#xff0c;或者降级副驾驶 经过研究#x…在idea使用GitHub账号、Copilot异常 登录GitHub显示
Invalid authentication data.Connection refused: connect或者副驾驶显示
Failed to initiate the GitHub login process. Please try again.一般网上的方法推荐使用token登录或者降级副驾驶 经过研究其实就是DNS污染 修改hostsC:\Windows\System32\drivers\etc\hosts添加以下参数。ipaddress.com可以最新查询地址 一定要添加api.github.com 必须添加api.github.com的ip
# Github
140.82.114.3 github.com
199.232.69.194 github.global.ssl.fastly.net
140.82.114.5 api.github.com之后cmd登陆
ipconfig /flushdns当浏览器可以裸连github.com表示dns刷新成功这样所有问题都解决了。
host设置
其中hosts 设置详细可以参看 https://github.com/521xueweihan/GitHub520