Domanda

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

È stato utile?

Soluzione

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

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

Altri suggerimenti

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top