SSL23_GET_SERVER_HELLO:sslv3警报握手失败[Kivy]

时间:2018-04-01 11:12:27

标签: android ssl-certificate kivy buildozer

在我的应用程序中,我从各个站点获取JSON,但我在特定站点上获得握手失败。我的应用程序在Windows上工作正常但在android上失败。这是log snipet,我怀疑。我想有一些证书问题。

    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

我的Buildozer要求如下:

requirements = kivy,requests[security],openssl

需要一些方向来解决问题。

0 个答案:

没有答案