- 自己重新安装过 clashx 后,无法 git push 到 github 上
- 报错如下
“Pushing to https://github.com/xxx/learn_git.git
fatal: unable to access ‘https://github.com/xxx/learn_git.git/’: LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443”
- 代理问题,git push,出现 SSL_ERROR,无法走 ssh,因为设置了 http 的代理
-
在终端执行下面的语句
git config --global http.proxy http://localhost:7890
-
7890 是能连上全球网的端口号
-
打开 clashx 查看端口
- clashx->配置->打开本地配置文件夹
- 查看 config.yaml
- 显示 port 为 7980,socks-port 为 7891
-
设置 sslBackend 属性为 openssl
git config --global http.sslBackend "openssl"
git config --global https.sslBackend "openssl"
-
vi ~/.gitconfig 或者 git config --global --list 会发现有
- http.sslbackedn=openssl
- https.sslbackedn=openssl
- 更新 homebrew
-
删除代理
git config --global --unset https.xxxx.prox
-
由于 ipv6 引起
networksetup -setv6off Wi-F
- sourceTree授权类型选择基础,密码为github的personal access token
小白在此谢谢大佬们~
- 关于 clashx
- https://www.bokezhu.com/2021/03/04/731.html
- https://www.sunjianbo.com/clash-for-windows-socks-port-7890/vs
- 关于 git push 到 github
- https://blog.csdn.net/xmh594603296/article/details/79948881
- https://www.jianshu.com/p/3cd97d0d545e
- 关于解决方案一
- https://blog.csdn.net/weixin_43874070/article/details/115086510
- 关于解决方案二与三
- https://blog.csdn.net/w5688414/article/details/99816109
- https://stackoverflow.com/questions/48987512/ssl-connect-ssl-error-syscall-in-connection-to-github-com443
- https://blog.csdn.net/weixin_42125310/article/details/106212710
- 关于解决方案四
- https://www.cnblogs.com/RengarLee/p/13376067.html
- 关于解决方案五
- https://blog.csdn.net/wufantastic/article/details/91488651



