错误1:fatal: unable to access … Received HTTP code 503 from proxy after CONNECT
Try to solve 1:
Refer to: Received HTTP code 503 from proxy after CONNECT , try to cancel the proxy or something, but I think there is no proxy in my .gitconfig.
git clone https://github.com/... --config http.proxy= --config http.
sslVerify=false
So the result still failed, and the following error was reported:
错误2:fatal: unable to access … gnutls_handshake() failed: The TLS connection was non-properly terminated.
Attempt to solve 2:
Refer to the solution : Git gnutls_handshake() failed , try to change https to http, and then report error 1...
git clone http://github.com/...
Finally resolved
So I thought that it might be possible to combine attempts to solve 1 and 2:
git clone http://github.com/... --config http.proxy= --config http.
sslVerify=false
Succeeded...
warning: redirecting to https://github.com/.../
remote: Enumerating objects: 597, done.
remote: Counting objects: 100% (597/597), done.
remote: Compressing objects: 100% (307/307), done.
remote: Total 597 (delta 321), reused 524 (delta 248), pack-reused 0
Receiving objects: 100% (597/597), 13.19 MiB | 6.13 MiB/s, done.
Resolving deltas: 100% (321/321), done.
reference:
Received HTTP code 503 from proxy after CONNECT
Git gnutls_handshake() failed解决办法