[英]Git Problem: gnutls_handshake() failed: An unexpected TLS packet was received
why I cannot clone from GitHub repository in Ubuntu 20.04 lts.为什么我不能从 Ubuntu 20.04 lts 中的 GitHub 存储库克隆。 It shows the following error.
它显示以下错误。
It says:它说:
gnutls_handshake() failed: An unexpected TLS packet was received.
I am working in a corporate proxy and I set my proxy as follows:我在公司代理中工作,我将代理设置如下:
git config --global http.proxy http://proxyuser:proxypwd@proxy:port
git config --global https.proxy https://proxyuser:proxypwd@proxy:8080
I replaced proxy by my IP like: 172.90.7.4我用我的 IP 替换了代理,例如:172.90.7.4
My .gitconfig
is configured as follows in the code:我的
.gitconfig
在代码中配置如下:
Try first:先试试:
https.proxy http://proxyuser:proxypwd@proxy:8080
^^^^
HTTPS connections should go through the same proxy, using HTTP , not https. HTTPS 连接应该通过相同的代理 go,使用HTTP ,而不是 Z5E056C500A501C4B6A7D801。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.