From 65105ab4b886ddc87a60cfa4e6600d8996164a81 Mon Sep 17 00:00:00 2001 From: Brent Picasso Date: Sat, 9 Sep 2017 11:33:55 -0700 Subject: [PATCH] Update __init__.py Resolves #1107 --- pythonforandroid/recipes/websocket-client/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pythonforandroid/recipes/websocket-client/__init__.py b/pythonforandroid/recipes/websocket-client/__init__.py index aeb6b3b8a1..b0de3d0055 100644 --- a/pythonforandroid/recipes/websocket-client/__init__.py +++ b/pythonforandroid/recipes/websocket-client/__init__.py @@ -5,6 +5,12 @@ # copy the 'websocket' directory into your app directory to force inclusion. # # see my example at https://github.com/debauchery1st/example_kivy_websocket-recipe +# +# If you see errors relating to 'SSL not available' ensure you have the package backports.ssl-match-hostname +# in the buildozer requirements, since Kivy targets python 2.7.x +# +# You may also need sslopt={"cert_reqs": ssl.CERT_NONE} as a parameter to ws.run_forever() if you get an error relating to +# host verification class WebSocketClient(Recipe):