无法连接github,Empty reply from server?

用hexo搭了个blog,之前一直正常,最近在deploy的时候无法连接到github了。
fatal: unable to access ‘https://github.com/xxxxx’: Empty reply from server.
请问这是怎么回事

阅读 21.9k
4 个回答

可参照这篇 http://segmentfault.com/q/1010000002169878

我测试了,使用ssh传输方式没问题。有可能最近github又给强了

注意:初始化git的时候,添加远程仓库的地址,选择ssh的地址git remote add origin git@github.com:zzuhan/slider.git

跟github软件 和 mac os x系统没一点关系,我党开启了屏蔽,如果有需求,建议使用vpn吧,确确实实是没办法,我用的曲径,评价还不错

新手上路,请多包涵

撸主解决了吗?我最近也遇到这个问题了。我用ssh -T git@github.com返回是You've successfully authenticated, but GitHub does not provide shell access.但还是fatal: unable to access 'https://github.com/xxx/xxx.git/': Empty reply from server

翻墙是中国程序员的必备技能。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进