Welcome to the Smartsheet Forum Archives

The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.

Python API error "SSL handshake error, old CA bundle or old OpenSSL"


I'm using Mac Sierra and i'm trying a simple test:

import smartsheet

smartsheet = smartsheet.Smartsheet('mytoken')

me = smartsheet.Users.get_current_user()


And i'm getting an error:

smartsheet.exceptions.HttpError: (SSLError(SSLError(SSLError(1, u'[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)'),),), 'SSL handshake error, old CA bundle or old OpenSSL?')


I've tried updating openssl but mac sierra doesnt seem to allow it.



  • dAVE Inden
    dAVE Inden Employee

    This sounds like it might be related to the issue reported on Github for our Python SDK here. If looking at that doesn't help reach out to us at api@smartsheet.com and we can try to assist.

  • Jose Ortiz
    edited 07/14/17

    I had the same problem. What worked for me was downgrading the requests package:

    pip install requests==2.11.0

    Any newer version causes the same error. Other proposed solutions did not work in my case due to restricted privileges preventing me from building and installing those packages.


This discussion has been closed.