Skip to content

Instantly share code, notes, and snippets.

@anseljh
Created March 10, 2016 08:16
Show Gist options
  • Save anseljh/6c047495be34915a63d3 to your computer and use it in GitHub Desktop.
Save anseljh/6c047495be34915a63d3 to your computer and use it in GitHub Desktop.
SSL error
>>> r = requests.get("https://www.krinternetlaw.com/", verify=False)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/requests/api.py", line 67, in get
return request('get', url, params=params, **kwargs)
File "/Library/Python/2.7/site-packages/requests/api.py", line 53, in request
return session.request(method=method, url=url, **kwargs)
File "/Library/Python/2.7/site-packages/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/Library/Python/2.7/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/Library/Python/2.7/site-packages/requests/adapters.py", line 447, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment