I'm having problems getting requests working with openssl on Android.
I'm using the android_new toolchain and have the following requirements in my buildozer spec file:
requirements = pyopenssl, cryptography, pyasn1, apsw, requests, ndg-httpsclient, kivy
In logcat gives me this:
I/python (31084): /data/data/edword.test.edword/files/_applibs/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning:
I/python (31084): SNIMissingWarning
I/python (31084): /data/data/edword.test.edword/files/_applibs/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain
I/python (31084): InsecurePlatformWarning
I/python (31084): [Errno 185090050] _ssl.c:340: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
I/python (31084): /data/data/edword.test.edword/files/_applibs/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain
I/python (31084): InsecurePlatformWarning
I/python (31084): [Errno 185090050] _ssl.c:340: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
On my server I'm seeing this:
EOF occurred in violation of protocol
And it fails to connect.
Am I missing a requirement somewhere?
If I run from Kivy 1.9.0 on Windows (which is running python 2.7.9) it works fine.