SSLError from APIO and tinyprog (MacOS 10.13)

~ apio install system scons icestorm iverilog
HTTPSConnectionPool(host='', port=443): Max retries exceeded with url: /repos/FPGAwars/tools-system/releases (Caused by SSLError(SSLError(1, u'[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661)'),))

I am not sure where to go with this.

Also when I run the Tiny bootloader update I get this:

~ tinyprog --update-bootloader

    TinyProg CLI
    Using device id 1d50:6130
    Only one board with active bootloader, using it.
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/bin/tinyprog", line 11, in <module>
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tinyprog/", line 282, in main
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tinyprog/", line 96, in perform_bootloader_update
    bootloader_update_info = json.loads(urlopen(m[u"bootmeta"][u"update"] + "/bootloader.json").read())
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 154, in urlopen
    return, data, timeout)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 429, in open
    response = self._open(req, data)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 447, in _open
    '_open', req)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 407, in _call_chain
    result = func(*args)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 1241, in https_open
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 1198, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661)>

I am running a 2017 27” iMac with High Sierra 10.13.6

All help appreciated.


Hey @JesusArroyo, have you seen this before? It’s an SSLError Python exception coming from both apio and tinyprog when they try to access GitHub on @Macca45’s machine. This is the first time I’ve seen it.


Hi. I haven’t seen it before. It seems to be related to python and pip. @Macca45 could you try to execute: curl | python?