Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Add SSL support to the Autobahn WebSocket library
Java
branch: master

This branch is 14 commits ahead, 10 commits behind palmerc:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.settings
res
src
.classpath
.gitignore
.project
AndroidManifest.xml
README.md
build.xml
ic_launcher-web.png
local.properties
proguard-project.txt
project.properties

README.md

This project is meant to add working TLS support to the Autobahn WebSocket library as a preliminary step to implementation at work.

The problem being solved was in part switching the Autobahn library off of Java NIO. Java NIO is broken on Android and you must use the classic java sockets. Android Issue 12955

The project comes with an example Android WebSocket Echo client that communicates with WebSocket.org's echo server with or without SSL encryption.

To disable SSL certificate checks you can tell SSLCertificateSocketFactory to relax its checks:

On development devices, "setprop socket.relaxsslcheck yes" bypasses all SSL certificate and hostname checks for testing purposes. This setting requires root access.

Something went wrong with that request. Please try again.