gpt4 book ai didi

混帐克隆 : fatal: gnutls_handshake() failed

转载 作者:太空狗 更新时间:2023-10-29 14:23:45 26 4
gpt4 key购买 nike

最近,我试图从我的 debian(jessie) 机器上克隆一个 git 仓库,我遇到了这个:

fatal: unable to access 'https://github.com/foo/bar/': gnutls_handshake() failed: A TLS packet with unexpected length was received.

ubuntu folks 所述我使用了用 openssl 编译的 git,现在我得到:

fatal: unable to access 'https://github.com/foo/bar/': Unknown SSL protocol error in connection to github.com:443

最佳答案

客户端解决方案效果很好。

但是,当我们只需修复服务器上的问题并完成它时,要求每个人重新编译他们的基本 git 可执行文件并不总是可行的。

(注意:这仅在您拥有 git 服务器的管理员访问权限时才有效。)

编辑:

/etc/apache2/sites-enabled/config-file-whatever-it-is.conf

并添加ServerName my.sampleserver.com

服务器名称引用:

https://httpd.apache.org/docs/current/vhosts/name-based.html

特别感谢解决方案:

https://www.progclub.org/blog/2014/09/03/gnutls_handshake-failed-using-git/

关于混帐克隆 : fatal: gnutls_handshake() failed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20368447/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com