WSS support for Android

#1

Hi,

we are developing an Android app, which uses Autobahn for android in order to communicate with websocket server. Hoveever, we need secure connection (e.g. TLS), but I founf oput that secure websocket is not implemented. It is implemented only in python version. Couldn’t you tell me some hint how to implement TLS or are any plans to add this functionality into existed autobahn library ?

Thanks.

Peter

0 Likes

#2

AutobahnAndroid will implement TLS.

Currently, AutobahnAndroid uses NIO under the hood.

NIO is does not really add a lot to AutobahnAndroid, since we use background reader/writer threads anyway, and hence could also use blocking networking.

Using TLS with NIO is highly non-trivial, thanks to braindead API design.

Thus, AutobahnAndroid needs to switch to blocking network IO .. adding TLS then is trivial.

I can't give you a timeframe when that happens .. if you want to help, fork AutobahnAndroid and rip out NIO and replace it with plain old blocking network IO as a first step ..

Cheers,
Tobias

···

Am 10.07.2012 14:08, schrieb kukucka:

Hi,

we are developing an Android app, which uses Autobahn for android in
order to communicate with websocket server. Hoveever, we need secure
connection (e.g. TLS), but I founf oput that secure websocket is not
implemented. It is implemented only in python version. Couldn't you tell
me some hint how to implement TLS or are any plans to add this
functionality into existed autobahn library ?

Thanks.

Peter

0 Likes

#3

I hope the wss will come soon. Every professional apps required TLS for login or something else…

0 Likes

#4

I agree, and thanks to work done by pinetechlabs and zerodivisi0n
TLS support and auto-reconnect

https://github.com/tavendo/AutobahnAndroid/pulls

it'll be there very soon. I'll merge those 2 within this week, and
hopefully also find time to add the missing WAMP-CRA client authentication.

Cheers,
Tobias

···

Am 31.07.2012 00:08, schrieb Markus Unger:

    I hope the wss will come soon. Every professional apps required TLS
    for login or something else...

0 Likes

#5

What is the state of merging?

Regards,

Markus

0 Likes

#6

I to was interested.

Found the answer here: https://github.com/tavendo/AutobahnAndroid/pull/14

···

On Wednesday, 15 August 2012 06:47:52 UTC+2, Markus Unger wrote:

What is the state of merging?

Regards,

Markus

0 Likes