我通过 Tor 使用 GitHub,因为 Git 端口在我的网络上被阻止。
我正在使用 Fedora 17 GNU Linux。今天突然无法通过 Tor 连接到 GitHub。有什么故障排除方法或建议吗?
这是我得到的错误:
fatal: unable to connect to github.com:
github.com[0: 207.97.227.239]: errno=Connection timed out
Tor 运行良好。我可以将其他应用程序连接到 127.0.0.1:9050
并且代理工作正常。
最佳答案
如果您尚未设置 git 用户属性,您将收到此消息
检查您是否有 ~/.gitconfig
然后执行:
git config --global user.name "your-user-name"
git config --global user.email your@email-address.com
关于linux - 通过 Tor 连接 GitHub 不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10896811/