Ошибка CURL NSS -5990 (PR_IO_TIMEOUT_ERROR)

Иногда 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 ответов

Другие вопросы по тегам