SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure [Kivy]

旧城冷巷雨未停 提交于 2019-12-14 02:38:46

问题


In my app I am fetching JSON from various sites but I get handshake failure on a particular site. My app works fine on windows but fails on android. here is log snipet which I have doubt on. I guess there is some certificate issue.

    I/python  (16801):  /data/data/org.test.coinswatch/files/app/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:334: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings

    I/python  (16801):  /data/data/org.test.coinswatch/files/app/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:132: InsecurePlatformWarning: A true SSLContext object 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.io/en/latest/advanced-usage.html#ssl-warnings

    I/python  (16801): [ CoinsWatch ]except buyucoin [Errno 1] _ssl.c:503: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

    I/python  (16801): [INFO   ] [OSC         ] using <thread> for socket

My Buildozer requirements are as follows:

requirements = kivy,requests[security],openssl

Need some direction to solve the issue.

来源:https://stackoverflow.com/questions/49597438/ssl23-get-server-hellosslv3-alert-handshake-failure-kivy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!