Skip to content

Websocket error: SSL not available  #1107

@brentpicasso

Description

@brentpicasso

Getting this error when attempting to open a secure websocket ('wss://') using websocket-client.

09-02 09:12:04.037 10328 10719 I python : [ERROR ] [MyApp] Websocket error: SSL not available.
09-02 09:12:04.037 10328 10719 I python : [INFO ] [MyApp] Websocket closed

Still happens after trying:

  • buildozer android clean
  • deleting the .buildozer directory and re-building
  • issuing buildozer android update and buildozer android clean and update

buildozer requirements:

requirements = kivy==1.10.0, sqlite3, openssl, pyopenssl, pygments, websocket-client

Other notes:

09-02 10:00:43.215 13478 13511 I python : [ERROR ] [MyApp] Websocket error: _ssl.c:331: No root certificates specified for verification of other-side certificates.

  • SSL does work on my android build; elsewhere in our app we are successfully using https with urllib2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions