Skip to content

Commit 65105ab

Browse files
authored
Update __init__.py
Resolves kivy#1107
1 parent c94f553 commit 65105ab

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pythonforandroid/recipes/websocket-client/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
# copy the 'websocket' directory into your app directory to force inclusion.
66
#
77
# see my example at https://github.com/debauchery1st/example_kivy_websocket-recipe
8+
#
9+
# If you see errors relating to 'SSL not available' ensure you have the package backports.ssl-match-hostname
10+
# in the buildozer requirements, since Kivy targets python 2.7.x
11+
#
12+
# You may also need sslopt={"cert_reqs": ssl.CERT_NONE} as a parameter to ws.run_forever() if you get an error relating to
13+
# host verification
814

915

1016
class WebSocketClient(Recipe):

0 commit comments

Comments
 (0)