[Bug 1913201] Re: Stuck at HTTPS git cloning into (gnuTLS libraries)
Ahmad
1913201 at bugs.launchpad.net
Tue Jan 26 05:51:32 UTC 2021
This is the output of Xenial VM in the same machine and the same
location:
GIT_CURL_VERBOSE=1 GIT_TRACE=1 git clone https://github.com/git/git
09:46:22.248229 git.c:344 trace: built-in: git 'clone' 'https://github.com/git/git'
Cloning into 'git'...
09:46:22.249155 run-command.c:334 trace: run_command: 'git-remote-https' 'origin' 'https://github.com/git/git'
* Couldn't find host github.com in the .netrc file; using defaults
* Trying 13.234.210.38...
* Connected to github.com (13.234.210.38) port 443 (#0)
* found 127 certificates in /etc/ssl/certs/ca-certificates.crt
* found 513 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
* server certificate verification OK
* server certificate status verification SKIPPED
* common name: github.com (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: C=US,ST=California,L=San Francisco,O=GitHub\, Inc.,CN=github.com
* start date: Tue, 05 May 2020 00:00:00 GMT
* expire date: Tue, 10 May 2022 12:00:00 GMT
* issuer: C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert SHA2 High Assurance Server CA
* compression: NULL
* ALPN, server accepted to use http/1.1
> GET /git/git/info/refs?service=git-upload-pack HTTP/1.1
Host: github.com
User-Agent: git/2.7.4
Accept: */*
Accept-Encoding: gzip
Accept-Language: en-US, *;q=0.9
Pragma: no-cache
< HTTP/1.1 200 OK
< Server: GitHub Babel 2.0
< Content-Type: application/x-git-upload-pack-advertisement
< Transfer-Encoding: chunked
< expires: Fri, 01 Jan 1980 00:00:00 GMT
< pragma: no-cache
< Cache-Control: no-cache, max-age=0, must-revalidate
< Vary: Accept-Encoding
< X-Frame-Options: DENY
< X-GitHub-Request-Id: C335:61C2:B4911:D1FFC:600FACAE
<
* Connection #0 to host github.com left intact
09:46:23.657828 run-command.c:334 trace: run_command: 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' '--check-self-contained-and-connected' '--cloning' 'https://github.com/git/git/'
09:46:23.658224 exec_cmd.c:120 trace: exec: 'git' 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' '--check-self-contained-and-connected' '--cloning' 'https://github.com/git/git/'
09:46:23.658991 git.c:344 trace: built-in: git 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' '--check-self-contained-and-connected' '--cloning' 'https://github.com/git/git/'
* Couldn't find host github.com in the .netrc file; using defaults
* Found bundle for host github.com: 0x1845780 [can pipeline]
* Re-using existing connection! (#0) with host github.com
* Connected to github.com (13.234.210.38) port 443 (#0)
> POST /git/git/git-upload-pack HTTP/1.1
Host: github.com
User-Agent: git/2.7.4
Accept-Encoding: gzip
Content-Type: application/x-git-upload-pack-request
Accept: application/x-git-upload-pack-result
Content-Encoding: gzip
Content-Length: 19972
< HTTP/1.1 200 OK
< Server: GitHub Babel 2.0
< Content-Type: application/x-git-upload-pack-result
< Transfer-Encoding: chunked
< expires: Fri, 01 Jan 1980 00:00:00 GMT
< pragma: no-cache
< Cache-Control: no-cache, max-age=0, must-revalidate
< Vary: Accept-Encoding
< X-Frame-Options: DENY
< X-GitHub-Request-Id: C335:61C2:B4947:D2026:600FACAF
<
remote: Enumerating objects: 2, done.
remote: Counting objects: 100% (2/2), done.
remote: Compressing objects: 100% (2/2), done.
09:46:26.277897 run-command.c:334 trace: run_command: 'index-pack' '--stdin' '-v' '--fix-thin' '--keep=fetch-pack 2767 on addas-VirtualBox' '--check-self-contained-and-connected' '--pack_header=2,301202'
09:46:26.278134 exec_cmd.c:120 trace: exec: 'git' 'index-pack' '--stdin' '-v' '--fix-thin' '--keep=fetch-pack 2767 on addas-VirtualBox' '--check-self-contained-and-connected' '--pack_header=2,301202'
09:46:26.278811 git.c:344 trace: built-in: git 'index-pack' '--stdin' '-v' '--fix-thin' '--keep=fetch-pack 2767 on addas-VirtualBox' '--check-self-contained-and-connected' '--pack_header=2,301202'
* remote: Total 301202 (delta 0), reused 0 (delta 0), pack-reused 301200
Connection #0 to host github.com left intact
Receiving objects: 100% (301202/301202), 151.47 MiB | 17.71 MiB/s, done.
Resolving deltas: 100% (224784/224784), done.
Checking connectivity... 09:46:41.979887 run-command.c:334 trace: run_command: 'rev-list' '--objects' '--stdin' '--not' '--all'
09:46:41.980077 exec_cmd.c:120 trace: exec: 'git' 'rev-list' '--objects' '--stdin' '--not' '--all'
09:46:41.980679 git.c:344 trace: built-in: git 'rev-list' '--objects' '--stdin' '--not' '--all'
done.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/1913201
Title:
Stuck at HTTPS git cloning into (gnuTLS libraries)
Status in git package in Ubuntu:
New
Bug description:
Possible Bug | gnuTLS handshake fail on git cloning with HTTPS Github
| Ubuntu 18/20 (Any Ubuntu version after CVE-2020-13777)
Specs: OS: Ubuntu 20.10 | Git version: 2.27.0
What happen: Stuck at cloning into or Operation timed out after 300000
milliseconds with 0 out of 0 bytes received
What should happen: Download packages through HTTPS like from Github
I get stuck at "git cloning into" which is possible SSL issue, compiling git with OpenSSL fix the issue https://github.com/paul-nelson-baker/git-openssl-shellscript
This is possible gnuTLS library bug or OS-level bug as this issue does
NOT happen on Ubuntu 16.
Steps to reprodue:
• Download version 20.10 of Ubuntu Groovy
• Set region to en-US or Dubai
• Finalize setup
• sudo apt-get install git
• git clone https://github.com/git/git
You will get stuck at cloning into
ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: git 1:2.27.0-1ubuntu1
ProcVersionSignature: Ubuntu 5.8.0-40.45-generic 5.8.18
Uname: Linux 5.8.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu50.3
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Mon Jan 25 22:07:50 2021
InstallationDate: Installed on 2021-01-24 (1 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
SourcePackage: git
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1913201/+subscriptions
More information about the foundations-bugs
mailing list