Hi everyone,
I am trying to set up a connection to a https website using requests with the following:
import requests
...
requests.get(url)
When I try to run my script, I receive an error 14077438 (from _ssl.c:504). And if I look at the console, the following error appears: "InsecurePlatformWarning xxx.../urllib3/util/ssl_.py:122: A true SSLContext is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning"
I have installed 3 additional pip packages through stash as read on this page: https://stackoverflow.com/questions/18578439/using-requests-with-tls-doesnt-give-sni-support/18579484#18579484 but no luck...
Packages:
pyOpenSSL
ndg-httpsclient
pyasn1
Any idea if it is possible to fix this issue in Pythonista2?
Thanks a lot
Benoit