Hi I am trying to make an HTTPS connection using requests on App Engine but I get the following error
NameError: name 'CERT_NONE' is not defined
It seems that urrlib3 cannot import ssl. Any ideas?
Update: The problem is that ssl on App Engine is missing the following
from ssl import wrap_socket, CERT_NONE, SSLError
This problem was fixed by t-8ch as you can see on this call https://github.com/shazow/urllib3/pull/130 at urllib3 github repository.
They have not done the merge to master branch yet, but you can get the available package from the fixed branch of t-8ch here: https://github.com/t-8ch/urllib3/tree/unify_ssl_api
I have tested and this is working well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With