小编jos*_*cul的帖子

gnutls_handshake() 失败:pull 函数出错

我的 Ubuntu (Ubuntu 16.04.5 LTS) 服务器有问题。这很奇怪。当我尝试使用任何工具通过 ssl 获取特定 URL 时,它失败了。例子:

卷曲

curl -v https://www.netonnet.se/
*   Trying 91.198.164.24...
* Connected to www.netonnet.se (91.198.164.24) port 443 (#0)
* found 148 certificates in /etc/ssl/certs/ca-certificates.crt
* found 596 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* gnutls_handshake() failed: Error in the pull function.
* Closing connection 0
curl: (35) gnutls_handshake() failed: Error in the pull function.
Run Code Online (Sandbox Code Playgroud)

工作组

wget -v https://www.netonnet.se/
--2018-12-29 12:00:42--  https://www.netonnet.se/
Resolving www.netonnet.se (www.netonnet.se)... 91.198.164.24
Connecting to www.netonnet.se (www.netonnet.se)|91.198.164.24|:443... connected.
Unable to …
Run Code Online (Sandbox Code Playgroud)

wget curl ubuntu gnutls

3
推荐指数
1
解决办法
2万
查看次数

标签 统计

curl ×1

gnutls ×1

ubuntu ×1

wget ×1