Question

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) ?

Was it helpful?

Solution

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

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

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top