相关疑难解决方法(0)

推送到远程存储库时出现“无法连接到 github.com 端口 443:连接超时”

我已经“谷歌搜索”和“stackoverflowed”了很多次,但还没有找到解决我的问题的方法。

我在 Ubuntu 上,第一次尝试git。

我做了:

sudo apt-get install git
Run Code Online (Sandbox Code Playgroud)

并在网站上创建了一个帐户(并验证了电子邮件,一切正常)。然后我

git config --global user.name "<my_name_here>"
Run Code Online (Sandbox Code Playgroud)

git config --global user.email "<my_email_here>"
Run Code Online (Sandbox Code Playgroud)

然后我访问该网站并创建了一个名为的公共存储库gittest(我没有使用自述文件进行初始化,也没有添加许可证或 .gitignore)。然后我

mkdir gittest
Run Code Online (Sandbox Code Playgroud)

在我的桌面上和

cd /Desktop/gittest
Run Code Online (Sandbox Code Playgroud)

然后:

echo "# gittest" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/<my_username>/gittest.git
Run Code Online (Sandbox Code Playgroud)

最后

git push -u origin master
Run Code Online (Sandbox Code Playgroud)

这就是悲剧:通过在写入后单击 Enter,git push -u origin master它什么也不做,并且在(许多)秒后返回一条错误消息:

致命:无法访问 ' https://github.com/ /gittest.git/':无法连接到 github.com 端口 443:连接超时

  • 我该如何解决?请帮忙

编辑

如果我

echo "$http_proxy"
Run Code Online (Sandbox Code Playgroud)

或者 …

linux git ubuntu github

7
推荐指数
1
解决办法
4万
查看次数

无法连接到 github.com 端口 443:操作超时

git clone https://github.com/RubyLouvre/avalon
Cloning into 'avalon'...
fatal: unable to access 'https://github.com/RubyLouvre/avalon/': Failed to connect to github.com port 443: Operation timed out
Run Code Online (Sandbox Code Playgroud)

我不能使用 HTTPS 来克隆任何 repo,但我可以通过 SSH 克隆它们。

git clone git@github.com:RubyLouvre/avalon.git
Cloning into 'avalon'...
remote: Counting objects: 33102, done.
remote: Compressing objects: 100% (44/44), done.
Run Code Online (Sandbox Code Playgroud)

这有什么问题?我什至设置了代理,但它仍然无法正常工作。我尝试了很多网络环境,但没有任何意义。

git github

6
推荐指数
1
解决办法
2万
查看次数

Windows防火墙,Tinywall和GIT

刚刚从XP更新到Win7.
我正在使用添加了Tinywall的Windows防火墙(提供更多控制)

但是当我使用Git Bash时,防火墙会阻止所有命令.如果我禁用防火墙,那么一切正常

我无法确定添加到TinyWall白名单的正确例外.

我添加了shell窗口以及应用程序异常的git.exe,但仍然没有.我添加的这些异常程序路径:

C:\Program Files (x86)\Git\git-cheetah\..\bin\sh.exe
C:\Program Files (x86)\Git\bin\git.exe
Run Code Online (Sandbox Code Playgroud)

错误示例:

$ git pull
ssh: connect to host xxx.xxx.xxx port 22: Bad file number
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Run Code Online (Sandbox Code Playgroud)

git windows-firewall windows-7

4
推荐指数
1
解决办法
2238
查看次数

Github错误:无法连接到443端口

我正在尝试使用以下文档在Windows 7上本地构建Appinventor:https ://docs.google.com/document/d/1Xc9yt02x3BRoq5m1PJHBr81OOvv69rEBy8LVG_84j9jc/pub#h.5p32kqx16c2d

我已经下载了第3节中列出的所有软件,并通过从外壳运行以下git命令来克隆git存储库,从而继续构建App Inventor:git clone https://github.com/mit-cml/appinventor-sources。吉特

我不断收到以下错误:无法连接到github 443错误

我已经厌倦了在Google搜索中发现以下内容:GitHub-无法连接到github 443 Windows /无法连接到gitHub-没有错误

我完全没有这个领域的经验,所以我不理解所提到的任何解决方案,请逐步尝试最佳解决方案,请尝试帮助我吗?

我在一家公司工作,所以我无法像他们提到的那样获得代理,否则防火墙可能会阻止它。

先感谢您!

shell github

3
推荐指数
1
解决办法
2万
查看次数

Git无法连接到github端口443 - 一些存储库工作,其他人不

几周以来,我使用以下GitHub存储库在Ubuntu 14.04下运行GIT设置:

https://github.com/hacke1978/simpleTree

今天我想在提交后执行推送:

致命:无法访问' https://github.com/hacke1978/simpleTree/ ':无法连接到github.com端口443:连接超时

成功提交后我无法执行git push,也无法创建此存储库的新克隆.

克隆例如点云库工作得很好:

git clone https://github.com/PointCloudLibrary/pcl

我三重检查:所有者pw hacke1978仍然有效,我不使用任何拼写错误.我可以很好地登录GitHub网页.

清除后我重新安装了git.

我重新启动.

我可以克隆其他公共存储库让我觉得,这是我的存储库的错误,而不是大学网络的推理(得到这个想法来自:

GitHub - 无法连接到github 443窗口/无法连接到gitHub - 没有错误

除了从我的本地代码重新创建一个新的存储库之外,还有什么建议吗?

git github

1
推荐指数
1
解决办法
6566
查看次数

标签 统计

git ×4

github ×4

linux ×1

shell ×1

ubuntu ×1

windows-7 ×1

windows-firewall ×1