Github打不开ping不通 拒绝访问
Conditions:
1. 修改hosts 添加 网址后仍然ping不通证明非DNS问题
CMD命令如下:ping不通!
Pinging github.com [192.30.253.112] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.30.253.112:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)
2.github Desktop仍然无法push
显示如下:
fatal: unable to access ‘https://github.com/***/weibo.git/‘: Failed to connect to github.com port 443: Timed out
3.使用chrome Edge Firefox等都打不开网址
Hmmm… can‘t reach this page github.com took too long to respond
Try:
Checking the connection
Checking the proxy and the firewall
Running Windows Network Diagnostics
ERR_CONNECTION_TIMED_OUT
4. 用git 命令 push 也拒绝访问
$ git push origin master
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
5. 可能原因一直运行trending脚本,使用PyQuery抓取热门code!
有可能被github server forbidden
现在运行脚本提示错误:
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
6. 尝试使用tor browser浏览可以打开网址
进一步确定有可能屏蔽了物理网卡地址
7. 同一wifi条件下,手机可以打开github.com
8. 可以打开lab.github.com