cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl error 35 - Unknown SSL protocol

From: Kulcyk, JoAnn <JKulcyk2_at_glhec.org>
Date: Wed, 27 Jul 2016 21:59:47 +0000

I am getting the following error very intermittently:

curl: (35) Unknown SSL protocol error in connection to ...

My curl command starts with:

/usr/bin/curl--insecure--user --request POST --retry 1 --retry-delay 5 --header "Content-Type: application/json" -data ...

So I expected 1 retry after a 5 sec delay, but from the following stdout variables, it looks like no retry was done:

time_appconnect: 0.000
size_download: 0
size_header: 0
size_request 0
size_upload 0
speed_download 0.000
speed_upload 0.000
time_connect 0.090
time_namelookup 0.044
time_pretransfer 0.000
time_redirect 0.000
time_starttransfer 0.000
time_total 0.061

The total time is less than 5 seconds.

Does curl retry for an SSL protocol error?

Thanks!

----------------------------------------------------------------------
The information contained in this communication may be confidential, is intended only for the use of the recipient(s) named above, and may be protected under state or federal law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please forward the communication to notme_at_glhec.org immediately and destroy or delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender.

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ: https://curl.haxx.se/docs/faq.html
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-07-28