首页 > 其他 > 详细

OpenSSL SSL_connect: Connection was reset in connection to github.com:443, Invalidate authentication data. Connection reset.

时间:2021-06-05 11:16:03      阅读:32      评论:0      收藏:0      [点我收藏+]

造成这两个错误的大多数原因是代理问题

push不上问题

push不上: OpenSSL SSL_connect: Connection was reset in connection to github.com:443
技术分享图片
要么把代理关闭干净, 要么把代理设置正确
使用的学科上网软件, 系统的代理就会自动被设置

使用学科上网代理push

技术分享图片

打开一个终端, 执行如下命令, 再重开终端进行push
git config --global http.proxy "127.0.0.1:7890"
git config --global https.proxy "127.0.0.1:7890"

不使用学科上网代理push

关闭系统的代理, 打开一个终端, 执行如下命令, 再重开终端进行push
git config --global --unset http.proxy
git config --global --unset https.proxy

添加github token报错问题

添加github token报错: Invalidate authentication data. Connection reset.
技术分享图片

同样是代理的问题, 这里不管使不使用代理, 设置IDEA的自动检测代理即可
技术分享图片

一定记得Apply

最后再回到Version Control->Github进行token的添加

技术分享图片

OpenSSL SSL_connect: Connection was reset in connection to github.com:443, Invalidate authentication data. Connection reset.

原文:https://www.cnblogs.com/xfk1999/p/git-problems.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!