Skip to content

Instantly share code, notes, and snippets.

View suavesav's full-sized avatar

Savinay Nangalia suavesav

View GitHub Profile
@suavesav
suavesav / sav_python_ssl.md
Last active August 25, 2022 14:48
Sav's adventures in SSL land

Started with me trying to resolve this error:

import requests
requests.get('https://www.salesforce.com')

SSLError('bad handshake', Error([('SSL routines', 'SSL23_GET_SERVER_HELLO', 'sslv3 alert handshake failure')]

And I believe this is the cause as per https://github.com/superfell/Beatbox:

foo.py
from bar import x

def y(a,b):
    print x(a,b)


bar.py