CURL NSS error -5990 (PR_IO_TIMEOUT_ERROR)












0















Sometime curl returns error and sometimes runs perfectly



When it works i get below output



[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: */*


When it fails



[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


What is this error and why sometimes it fails ?










share|improve this question

























  • what is the NSS version on your system? Try upgrading to the latest, that may solve the issue.

    – Paolo
    Nov 14 '18 at 18:37













  • NSS/3.28.4 is the version on system.

    – Arjun J Gowda
    Nov 15 '18 at 7:25
















0















Sometime curl returns error and sometimes runs perfectly



When it works i get below output



[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: */*


When it fails



[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


What is this error and why sometimes it fails ?










share|improve this question

























  • what is the NSS version on your system? Try upgrading to the latest, that may solve the issue.

    – Paolo
    Nov 14 '18 at 18:37













  • NSS/3.28.4 is the version on system.

    – Arjun J Gowda
    Nov 15 '18 at 7:25














0












0








0








Sometime curl returns error and sometimes runs perfectly



When it works i get below output



[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: */*


When it fails



[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


What is this error and why sometimes it fails ?










share|improve this question
















Sometime curl returns error and sometimes runs perfectly



When it works i get below output



[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: */*


When it fails



[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


What is this error and why sometimes it fails ?







curl openssl centos nss






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 14 '18 at 18:38









Paolo

9,721244767




9,721244767










asked Nov 14 '18 at 12:35









Arjun J GowdaArjun J Gowda

451411




451411













  • what is the NSS version on your system? Try upgrading to the latest, that may solve the issue.

    – Paolo
    Nov 14 '18 at 18:37













  • NSS/3.28.4 is the version on system.

    – Arjun J Gowda
    Nov 15 '18 at 7:25



















  • what is the NSS version on your system? Try upgrading to the latest, that may solve the issue.

    – Paolo
    Nov 14 '18 at 18:37













  • NSS/3.28.4 is the version on system.

    – Arjun J Gowda
    Nov 15 '18 at 7:25

















what is the NSS version on your system? Try upgrading to the latest, that may solve the issue.

– Paolo
Nov 14 '18 at 18:37







what is the NSS version on your system? Try upgrading to the latest, that may solve the issue.

– Paolo
Nov 14 '18 at 18:37















NSS/3.28.4 is the version on system.

– Arjun J Gowda
Nov 15 '18 at 7:25





NSS/3.28.4 is the version on system.

– Arjun J Gowda
Nov 15 '18 at 7:25












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53300393%2fcurl-nss-error-5990-pr-io-timeout-error%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53300393%2fcurl-nss-error-5990-pr-io-timeout-error%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Xamarin.form Move up view when keyboard appear

Post-Redirect-Get with Spring WebFlux and Thymeleaf

Anylogic : not able to use stopDelay()