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

push不上问题

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

使用学科上网代理push

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

打开一个终端, 执行如下命令, 再重开终端进行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.
OpenSSL SSL_connect: Connection was reset in connection to github.com:443, Invalidate authentication data. Connection reset.

同样是代理的问题, 这里不管使不使用代理, 设置IDEA的自动检测代理即可
OpenSSL SSL_connect: Connection was reset in connection to github.com:443, Invalidate authentication data. Connection reset.

一定记得Apply

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

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

相关文章:

  • 2021-04-12
  • 2022-12-23
  • 2021-08-02
  • 2021-05-22
  • 2022-12-23
  • 2021-10-10
猜你喜欢
  • 2022-12-23
  • 2021-05-21
  • 2021-11-05
  • 2021-11-08
  • 2022-02-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案