Home » Android » https – Android library for WSS (Secure Web Socket)

https – Android library for WSS (Secure Web Socket)

Posted by: admin June 15, 2020 Leave a comment


Im trying to connect to
WSS (client+server certificate authentication + Corporate Proxy Authentication+Self Signed Certificate Chain) from Android.

I tried Autobhan library, Koush AsyncIO, SecureWebSocket, Autobahn library with TLS support And few other.

I could not get it working.

Any suggestions on support library or least possible alterations to my server configuration to make it work (Https mandatory) ?

How to&Answers:

Did you try https://github.com/TooTallNate/Java-WebSocket

I haven’t used it myself, but it looks promising.


Just recently discovered this library (nv-websocket-client). The best websocket client library for Android and Java so far. It supports WSS and RFC 7692.


I am using Tyrus library.
It works but only on Android 4.
On Android 5 it hits a bug in Android. The bug happens only on ssl connections.