git-GnuTLS recv error (-110): The TLS connection was non-properly terminated.
1 2 3
| root@ubuntu-server:~/pythonProject# git clone https://github.com/BlockZachary/flaskDockerSample.git Cloning into 'flaskDockerSample'... fatal: unable to access 'https://github.com/BlockZachary/flaskDockerSample.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.
|
在确保了 ubuntu 下没有代理的情况下,依次执行
1 2 3
| root@ubuntu-server:~/pythonProject# export GIT_TRACE_PACKET=1 root@ubuntu-server:~/pythonProject# export GIT_TRACE=1 root@ubuntu-server:~/pythonProject# export GIT_CURL_VERBOSE=1
|
再次尝试 clone 成功了
1 2 3 4 5 6 7 8 9 10 11 12 13
| root@ubuntu-server:~/pythonProject# git clone https://github.com/BlockZachary/flaskDockerSample.git 19:10:50.593675 git.c:439 trace: built-in: git clone https://github.com/BlockZachary/flaskDockerSample.git Cloning into 'flaskDockerSample'... 19:10:50.598505 run-command.c:663 trace: run_command: git-remote-https origin https://github.com/BlockZachary/flaskDockerSample.git * Couldn't find host github.com in the .netrc file; using defaults * Trying 140.82.113.4:443... * TCP_NODELAY set * Connected to github.com (140.82.113.4) port 443 (#0) * found 411 certificates in /etc/ssl/certs * ALPN, offering h2 * ALPN, offering http/1.1 * SSL connection using TLS1.3 / ECDHE_RSA_AES_128_GCM_SHA256 * server certificate verification OK
|
更新: 2024-01-25 03:13:50
原文: https://www.yuque.com/zacharyblock/cx2om6/mrus76t4yurrg5ee
Author:
Zachary Block
Permalink:
http://blockzachary.cn/blog/3701004505/
License:
Copyright (c) 2019 CC-BY-NC-4.0 LICENSE