CURL NSS错误-5990(PR_IO_TIMEOUT_ERROR)

时间:2018-11-14 12:35:13

标签: curl openssl centos nss

有时curl返回错误,有时运行完美

当它起作用时,我的输出低于输出

[root@srv ~]# curl -v --verbose domain

* About to connect() to domain port 443 (#0)
*   Trying 103.252.142.19...
* Connected to domain (103.252.142.19) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL connection using TLS_RSA_WITH_AES_256_CBC_SHA256
* Server certificate:
*   common name: domain
*   issuer: CN=GeoTrust EV RSA CA 2018,OU=www.digicert.com,O=DigiCert Inc,C=US
> GET URL HTTP/1.1
> User-Agent: curl/7.29.0
> Host: domain
> Accept: */*

失败时

[root@srv ~]# curl -v --verbose URL

* About to connect() to domain port 443 (#0)
*   Trying 103.252.142.19...
* Connected to domain (103.252.142.19) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* NSS error -5990 (PR_IO_TIMEOUT_ERROR)
* I/O operation timed out
* Closing connection 0
curl: (35) I/O operation timed out

此错误是什么,为什么有时会失败?

0 个答案:

没有答案