category
tags
type
status
slug
date
summary
icon
password

现象一 SSL_ERROR_SYSCALL

Github 执行 git clonegit push 的时候出现如下异常
💡
fatal: unable to access " https ://github.com/tlyong1992/nextjs-notion-starter-kit. git/': LibreSSL SSL connect: SSL_ERROR_SYSCALL in connection to github.com: 443

环境

  • 操作系统 :MAC OS 10.15.7
  • Git版本: 2.24.2
  • 电脑科学上网

解决

方法一 配置git代理

参数中填写你的http代理信息

方法二 git禁用代理

执行以下脚本,修改全局代理配置(参考 Git Documentation
notion image

方法三 关掉代理软件

彻底关闭VPN,再Clone或者Push

方法四 更新ssl库

用homebrew指令更新,最后重新启动系统

方法五 关闭ipv6

执行networksetup -setv6off
 

现象二 Connection was reset, errno 10054

Git 执行 git clonegit push 的时候出现如下异常
💡
fatal: unable to access 'https://github.com/tangly1024/NotionNext.git/': OpenSSL SSL_read: Connection was reset, errno 10054

环境

  • 操作系统 :windows 10
  • Git版本: 2.32.0 windows.2
  • 电脑科学上网

解决

产生原因:一般是这是因为服务器的SSL证书没有经过第三方机构的签署,所以才报错。解决办法:解除ssl验证后,再次git即可
notion image