使用git克隆github上的项目失败:unable to access github: OpenSSL SSL_read: Connection was reset, errno 10054
时间:2020-07-11 17:48:12
收藏:0
阅读:797
原因:由于Http协议错误,当 pull 或者 clone 的时候,github被伟大的墙屏蔽所致。
解决:
-
参考无法连接github,修改host映射
-
更新DNS缓存
Mac用户:sudo killall -HUP mDNSResponder
sudo dscacheutil -flushcacheWindows用户:cmd命令窗口执行:
ipconfig /flushdns
原文:https://www.cnblogs.com/xym4869/p/13284364.html
评论(0)