git push报错:OpenSSL SSL_read: Connection was reset

410 阅读1分钟

问题描述

push到github时报

fatal: unable to access 'https://github.com/jlundo/demo.git/': OpenSSL SSL_read: Connection was reset, errno 10054

问题分析

从报错中可以看出ssl 链接重置了

解决方法

# 1.查看git配置
  git config --global -l
# 2.检查环境变量
  env|grep -i proxy  

执行完再次执行git push就可以了。