OpenSSL SSL_connect: Connection was reset in connection to github.com:443, Invalidate authentication data. Connection reset.
造成這兩個(gè)錯(cuò)誤的大多數(shù)原因是代理問題
push不上問題
push不上: OpenSSL SSL_connect: Connection was reset in connection to github.com:443

要么把代理關(guān)閉干凈, 要么把代理設(shè)置正確
使用的學(xué)科上網(wǎng)軟件, 系統(tǒng)的代理就會(huì)自動(dòng)被設(shè)置
使用學(xué)科上網(wǎng)代理push

打開一個(gè)終端, 執(zhí)行如下命令, 再重開終端進(jìn)行push
git config --global http.proxy "127.0.0.1:7890"
git config --global https.proxy "127.0.0.1:7890"
不使用學(xué)科上網(wǎng)代理push
關(guān)閉系統(tǒng)的代理, 打開一個(gè)終端, 執(zhí)行如下命令, 再重開終端進(jìn)行push
git config --global --unset http.proxy
git config --global --unset https.proxy
添加github token報(bào)錯(cuò)問題
添加github token報(bào)錯(cuò): Invalidate authentication data. Connection reset.

同樣是代理的問題, 這里不管使不使用代理, 設(shè)置IDEA的自動(dòng)檢測代理即可

一定記得Apply
最后再回到Version Control->Github進(jìn)行token的添加


浙公網(wǎng)安備 33010602011771號(hào)