我有与这里描述的完全相同的问题:https : //stackoverflow.com/questions/12849986/connection-timeout-when-accessing-github
所以我只是复制并粘贴:
我有一些奇怪的问题。当我尝试登录我的Github 帐户时,出现“net:: ERR_EMPTY_RESPONSE ”错误。
我尝试过 Chrome、Firefox 和 Opera。在 Firefox 中,如果清理缓存和离线数据,它会工作一段时间。然后就可以登录了,但是还是不能创建Github仓库,即使我再次清除缓存。
我的朋友,在同一个网络,用Windows,可以在Github的网站上为所欲为,但我不能。我尝试了很多 DNS服务器,我尝试不设置它(我的朋友没有),但它仍然无法正常工作。
我的操作系统:Ubuntu x64 12.04
想法,请。谢谢。
另外,我可以克隆任何 repo,但我不能推送。由于这个问题,我不得不更改为https://codeplane.com/,但我想了解它为什么会发生。
编辑:我可以克隆一个回购,但另一个只是挂在这一点上:
felipelalli@felipelalli-Studio-XPS-8100:~/wa$ git clone git@github.com:felipelalli/micaroni.git
Cloning into 'micaroni'...
remote: Counting objects: 5238, done.
remote: Compressing objects: 100% (3257/3257), done.
Receiving objects: 92% (4839/5238), 43.29 MiB | 902 KiB/s
Run Code Online (Sandbox Code Playgroud)
任何推送都像这样挂起:
master!fml.eti.br> push
Counting objects: 23, done.
Delta compression …Run Code Online (Sandbox Code Playgroud) git ×1