8000 Add help regarding websocket-client & SSL · hackalog/python-for-android@01309f0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 01309f0

Browse files
authored
Add help regarding websocket-client & SSL
1 parent 0a4736c commit 01309f0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/source/troubleshooting.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,10 @@ This error appears in the logcat log if you try to access
160160
``org.renpy.android.PythonActivity`` from within the new toolchain. To
161161
fix it, change your code to reference
162162
``org.kivy.android.PythonActivity`` instead.
163+
164+
websocket-client: if you see errors relating to 'SSL not available'
165+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
166+
Ensure you have the package backports.ssl-match-hostname in the buildozer requirements, since Kivy targets python 2.7.x
167+
168+
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
169+

0 commit comments

Comments
 (0)
0