Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-36090

install_compass fails on MacOS due to SSL version

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: Build, Packaging
    • Labels:
    • ALL
    • Build 2018-07-16, Build 2018-07-30, Build 2018-08-13
    • 8

      monkey101:Downloads$ ./mongodb-osx-x86_64-4.0.0/bin/install_compass
      Traceback (most recent call last):
        File "./mongodb-osx-x86_64-4.0.0/bin/install_compass", line 173, in <module>
          download_and_install_compass()
        File "./mongodb-osx-x86_64-4.0.0/bin/install_compass", line 157, in download_and_install_compass
          pkg = download_pkg(link, pkg_format=pkg_format)
        File "./mongodb-osx-x86_64-4.0.0/bin/install_compass", line 58, in download_pkg
          res = urllib.urlretrieve(link, filename=tmpf[1], reporthook=download_progress)
        File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 98, in urlretrieve
          return opener.retrieve(url, filename, reporthook, data)
        File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 245, in retrieve
          fp = self.open(url, data)
        File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 213, in open
          return getattr(self, name)(url)
        File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 443, in open_https
          h.endheaders(data)
        File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1049, in endheaders
          self._send_output(message_body)
        File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 893, in _send_output
          self.send(msg)
        File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 855, in send
          self.connect()
        File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1274, in connect
          server_hostname=server_hostname)
        File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 352, in wrap_socket
          _context=self)
        File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 579, in __init__
          self.do_handshake()
        File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 808, in do_handshake
          self._sslobj.do_handshake()
      IOError: [Errno socket error] [SSL: UNSUPPORTED_PROTOCOL] unsupported protocol (_ssl.c:590)
      

      The link for the compass download is behind the load balancer, which has disabled older TLS versions.

      There are a couple of possible solutions we should consider.

            Assignee:
            mathew.robinson@mongodb.com Mathew Robinson (Inactive)
            Reporter:
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: