Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ubuntu 尝试在google云计算引擎上从github克隆到VM_Ubuntu_Github_Ssh_Google Compute Engine - Fatal编程技术网

Ubuntu 尝试在google云计算引擎上从github克隆到VM

Ubuntu 尝试在google云计算引擎上从github克隆到VM,ubuntu,github,ssh,google-compute-engine,Ubuntu,Github,Ssh,Google Compute Engine,我在google cloud compute engine上运行一个VM实例,试图将github上的一个repsitory克隆到该实例上,我得到以下信息: Cloning into 'Up'... fatal: unable to access 'https://github.com/MyAccount/project.git/': Could not resolve host: github.com` 它在ubuntu 16.10上运行,我在云控制台中检查了两个防火墙例外 值得注意的是,我能

我在google cloud compute engine上运行一个VM实例,试图将github上的一个repsitory克隆到该实例上,我得到以下信息:

Cloning into 'Up'...
fatal: unable to access 'https://github.com/MyAccount/project.git/': Could not resolve host: github.com`
它在ubuntu 16.10上运行,我在云控制台中检查了两个防火墙例外


值得注意的是,我能够在早些时候从github克隆node.js

您现在是否使用任何可能受到DDoS攻击影响的系统?Github今天遇到了很多问题,我在访问/部署方面也遇到了一些问题

我建议等到今晚晚些时候或者明天,GitHub宣布一切都恢复正常


如果您像我一样迫切需要一个临时解决方案,那么您可以编辑
/etc/hosts
文件并手动添加其IP地址

192.30.253.113  github.com

您将能够从存储库中推拉。该网站仍然与其他资源有点脱节,但它的工作效率很低。

错误中的“无法解析主机”部分强烈表明这就是问题所在。我投票关闭这个问题,因为这是由于Github的DNS中断。