当前位置: 首页 > 工具软件 > Beringei > 使用案例 >

Beringei编译填坑之二:gnutls在Proxy下的bug

南门英飙
2023-12-01

在编译Beringei时,使用git clone..到本地时,有如下报错:

root@ubutun:/aaa# git clone ne https://github.com/google/googletest.git
Clo
Cloning into 'googletest'...
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 14801 (delta 1), reused 4 (delta 1), pack-reused 14793
Receiving objects: 100% (14801/14801), 4.99 MiB | 73.00 KiB/s, done.
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated

可以很明显看到有如下报错:

error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated。

初步的思路想着可能是协议有问题,换成ssh,就是GitHub那里的clone or download点击右上角的USE SSH,没用。顺带一提,我的环境在公司内网,不能直接连接外网,需要配置proxy,一般内网可能有限制,22、443一类的端口应该被禁用了,所以ping,ssh的操作是不成功的,内外网互通用curl -ik www.baidu.com检查一下就知道了。

 类似资料: