AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1269383
Accepted
Remis Haroon - رامز
Remis Haroon - رامز
Asked: 2020-08-23 23:05:53 +0800 CST2020-08-23 23:05:53 +0800 CST 2020-08-23 23:05:53 +0800 CST

致命:无法访问“https://github.com/gitaccount/repo-name.git/”:操作在 300017 毫秒后超时,收到 0 个字节中的 0 个字节

  • 772

我无法从 github.com 执行 git clone Ubuntu 20.04.1 LTS,尝试了其他答案的所有解决方案。禁用了ubuntu防火墙,并且在家庭网络上,所以没有其他防火墙。在windows上一切都很好。
我没有使用任何代理服务器。

ramez@ramez-nx:~/lab$ sudo ufw status
Status: inactive

设置 SSL 验证 = false

ramez@ramez-nx:~/lab$ git config --global https.sslVerify false 

我不知道还能尝试什么,真的卡了好几天。

ramez@ramez-nx:~/lab$ set -x; GIT_TRACE=2 GIT_CURL_VERBOSE=2 GIT_TRACE_PERFORMANCE=2 GIT_TRACE_PACK_ACCESS=2 GIT_TRACE_PACKET=2 GIT_TRACE_PACKFILE=2 GIT_TRACE_SETUP=2 GIT_TRACE_SHALLOW=2 git clone https://github.com/sqlectron/sqlectron-core.git -v -v; set +x –
+ GIT_TRACE=2
+ GIT_CURL_VERBOSE=2
+ GIT_TRACE_PERFORMANCE=2
+ GIT_TRACE_PACK_ACCESS=2
+ GIT_TRACE_PACKET=2
+ GIT_TRACE_PACKFILE=2
+ GIT_TRACE_SETUP=2
+ GIT_TRACE_SHALLOW=2
+ git clone https://github.com/sqlectron/sqlectron-core.git -v -v
10:03:38.851319 git.c:444               trace: built-in: git clone https://github.com/sqlectron/sqlectron-core.git -v -v
Cloning into 'sqlectron-core'...
10:03:38.856462 run-command.c:663       trace: run_command: git-remote-https origin https://github.com/sqlectron/sqlectron-core.git
10:03:38.863159 http.c:756              == Info: Couldn't find host github.com in the .netrc file; using defaults
10:03:48.877543 http.c:756              == Info:   Trying 140.82.118.3:443...
10:03:48.877579 http.c:756              == Info: TCP_NODELAY set
10:03:49.004993 http.c:756              == Info: Connected to github.com (140.82.118.3) port 443 (#0)
10:03:49.029753 http.c:756              == Info: found 383 certificates in /etc/ssl/certs
10:03:49.029809 http.c:756              == Info: ALPN, offering h2
10:03:49.029814 http.c:756              == Info: ALPN, offering http/1.1
10:08:13.018780 http.c:756              == Info: gnutls_handshake() failed: Error in the pull function.
10:08:13.018844 http.c:756              == Info: Closing connection 0
fatal: unable to access 'https://github.com/sqlectron/sqlectron-core.git/': gnutls_handshake() failed: Error in the pull function.
10:08:13.028404 trace.c:487             performance: 274.177112071 s: git command: git clone https://github.com/sqlectron/sqlectron-core.git -v -v
+ set +x –



ramez@ramez-nx:~/lab$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
networking git github gnutls
  • 1 1 个回答
  • 1472 Views

1 个回答

  • Voted
  1. Best Answer
    Remis Haroon - رامز
    2020-08-25T09:58:12+08:002020-08-25T09:58:12+08:00

    我在另一个Ubuntu-“20.04.1 LTS”实时启动上尝试了 git clone ,问题也存在。显然这是“20.04.1 LTS”版本的问题。

    现在我正在使用“Ubuntu 18.04 lts ”,一切都很好,生活很美好,充满阳光……我已经摆脱了抑郁,重新开始了生活。

    • 0

相关问题

  • 如何设置 VLAN 转发?

  • 如何将主机 Ubuntu 上的 VPN (tun0) 网络适配器映射到 VirtualBox 来宾 Windows?

  • 如何限制下载/上传带宽?

  • 如何通过 Windows 网络共享文件?

  • 面板小程序以文本形式显示当前网络流量?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve