Pregunta

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

¿Fue útil?

Solución

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

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

Otros consejos

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top