我正在使用 VMware 在 Ubuntu 上开发代码。一切都很好,我正在编码并将其提交到我的 Github 帐户,没有任何问题。但突然它停止工作,它会说: fatal: 无法访问 ' https://github.com/hm0ss/nst.git/ ': 无法解析主机:github.com
我做了什么?我在谷歌上搜索它并使用配置命令和其他建议,但无济于事。我还创建了另一个 git 存储库,但也失败了。我切换到 GitLab 并在那里创建了一个存储库,但这没有任何好处:“无法访问‘ https://gitlab.com/hma.globe/nst2.git/ ’:无法解析主机:gitlab.com”我需要说我正在使用代理(确实是袜子),但即使断开袜子服务器(或从谷歌浏览器中删除代理)也不起作用。顺便说一句,我什至切换到 Windows 并尝试提交,但遇到了同样的错误。尝试了大约两个小时后,我现在遇到了大麻烦。
当我尝试通过代理服务器克隆Git仓库时,我收到连接超时错误.
git clone
http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git
克隆到linux-2.6-imx ...
错误:连接到opensource.freescale.com:8080失败; 访问时连接超时http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git/info/refs致命:HTTP请求失败
我使用了corkscrew并将我的git代理设置为服务器地址和端口.我还能如何通过代理下载或克隆Git仓库?
我失败的尝试:
``
$ git push origin master
batch response: Post proxyconnect tcp: tls: 收到长度为 20527 的超大记录
我在调用以下命令cmd来安装 PhoneGap时遇到问题:
npm install -g phonegap
Run Code Online (Sandbox Code Playgroud)
返回以下错误:
Failed to connect to github.com port 443: Timed out
Run Code Online (Sandbox Code Playgroud)
关于这个主题有很多问题,它们似乎都提供了相同的答案 - 确保配置了git和的代理设置nodejs。我node像这样设置代理设置:
npm config set proxy http://proxyname:8080
npm config set https-proxy http://proxyname:8080
Run Code Online (Sandbox Code Playgroud)
而对于git:
git config --global http.proxy http://proxyname:8080
git config --global https.proxy http://proxyname:8080
Run Code Online (Sandbox Code Playgroud)
双方git config --list并npm config list确认这些代理设置到位。
我还通过转到Windows Firewall->允许程序通过防火墙Allow a program or feature through windows firewall。然后我选择了node.exeforNode.js和 forgit我选择了git.exe …
有人可以发一篇详细的文章,关于如何为Raspberry Pi编译Xuggler?
我无法将代码推送到 bitbucket 上。当我运行此命令“git push originbranch_name”时,它会给出错误 -
致命:无法访问“ https://user@bitbucket.org/folder/project.git/ ”:无法连接到 bitbucket.org 端口 443:网络无法访问。
怎么解决这个问题。有人帮忙吗?