curl failed when downloading data


1 comment

  • Avatar
    Nathan Beltran

    I would recommend checking the version of curl. Here is a KB that you can refer to.



    SSL error when running a curl request to the API


    When running a curl request to a Sumo Logic endpoint I am receiving the following error message.

    About to connect() to port 443 
    * Trying connected 
    * Connected to ( port 443 
    * successfully set certificate verify locations: 
    * CAfile: /etc/pki/tls/certs/ca-bundle.crt 
    CApath: none 
    * SSLv2, Client hello (1): 
    Unknown SSL protocol error in connection to 
    * Closing connection #0 
    curl: (35) Unknown SSL protocol error in connection to


    This error is due to an unsupported version of TLS being used with the connection. On June 20th, 2018 Sumo Logic removed support for TLS 1.0 and TLS 1.1 from all public endpoints and now requires all connections to occur via TLS 1.2.


    To address the reported error you can:

    1. Upgrade to the latest version of curl. To verify the curl version type curl -V.  TLS1.2 is the default used by Curl versions 7.34 has default support for tlsv1.2  
    2. Use the --tlsv1.2 option. For example
    curl --tlsv1.2 -u 'accessid:accesskey' -X POST -H "Content-Type: application/json" -T hosted_collector.json
    Comment actions Permalink

Please sign in to leave a comment.