git clone 时遇到fatal http request
2017-11-21 10:47
357 查看
参考:http://blog.csdn.net/ZHENFENGSHISAN/article/details/57566709
解决办法:
cd /etc
sudo vim hosts
底部添加
robot@ubuntu:~/rosbyexamplecode$ git clone https://github.com/pirobot/rbx1.git Cloning into 'rbx1'... error: Couldn't resolve host 'github.com' while accessing https://github.com/pirobot/rbx1.git/info/refs fatal: HTTP request failed robot@ubuntu:~/rosbyexamplecode$ ping github.com ping: unknown host github.com
解决办法:
cd /etc
sudo vim hosts
底部添加
192.30.253.112 github.com
相关文章推荐
- Pushing to Git returning Error Code 403 fatal: HTTP request failed 新解决办法
- git push到github报:fatal: HTTP request failed 的可能原因
- Git Clone时报 "fatal: index-pack failed error: RPC failed; result=18, HTTP code = 200"
- GIt连接GitHub时遇到问题 HttpRequestException encountered
- Git Clone时报 "fatal: index-pack failed error: RPC failed; result=18, HTTP code = 200"原因文件过大需要服务端配置一下
- 遇到从github git clone不下来,报Permission denied (publickey). fatal: Could not read from remote repository.
- git clone error: RPC failed; result=52, HTTP code = 0 fatal: The remote end hung up unexpectedly
- git clone 的时候 fatal: Authentication failed for "http://......"
- git clone 遇到问题:fatal: unable to access
- git clone 遇到错误:fatal: The remote end hung up unexpectedly
- git报错fatal: HTTP request failed,提示403
- fatal: HTTP request failed
- 【git】用http协议git clone代码出现fatal: I don't handle protocol
- git clone error: RPC failed; result=22, HTTP code = 502
- ASP MVC最近遇到的两个问题(SQL和HTTPWebRequest)
- ASIHTTPRequest包引入的时候遇到的问题libxml/HTMLparser.h file not found
- git 时遇到fatal:multiple stage entries for merged file处理办法
- ASIHTTPRequest使用过程中遇到的问题及解决办法
- HttpWebRequest抓数据遇到的问题
- git clone error: RPC failed; result=56, HTTP code = 200 | 1024 bytes/s