New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add WSS support #8
Comments
""" First, if you use classic, blocking netwoork code (which also does Now, Autobahn uses Java NIO .. for performance reasons, since it Unforntunately, there doesn't seem to be an easy analog to SocketChannel like i.e. SSLSocketChannel. When you Google for "Java NIO SSL" .. it seems to be non-trivial, sadly. What's needed with Autobahn and WSS is extending the code here: |
I'm working on a proof of concept prototype app using Autobahn at the moment. I can't get wss:// to work atm, so will just use ws://, however, for production a secure transport will be a necessity. Is wss:// very high on your priority? If all goes to plan and I could dedicate some time to working on wss:// would you imagine having the time/inclination to provide guidance? Thanks. |
Unfort., I have currently no time to work on WSS .. there is a "nearly working" TLS-NIO version here: https://github.com/tavendo/AutobahnAndroid/tree/tlsnio |
Thanks for reply :) I'll get back if/when I look into it. ps. Autobahn seems great thus far :) |
Have you been able to make any progress on wss? I'm evaluating different WebSocket libraries for Android and AutobahnAndroid is looking very good so far, but not being able to use WSS is a deal breaker. I might be able to contribute if there is a list of known bugs for the tlsnio branch? |
We just went ahead and used AutoBahn for our prototype and feel comfortable Not sure exactly when we'll be focusing on wss, but it's on the cards as |
I might consider doing this but will need to switch to WSS rather soon as we found that some mobile operators interfere with non-TLS connections, inadvertently breaking WebSocket connections. |
Will let you know when we can contribute. Will try and get boss to give it |
Cool, thanks for being super responsive! :) |
Just FYI, in case you missed it, I'm not really involved in the project, |
Yeah, I got that. Still good to know that someone else is out there! |
Likewise :) |
"I might consider doing this but will need to switch to WSS rather soon as we found that some mobile operators interfere with non-TLS connections, inadvertently breaking WebSocket connections." Yep. Seems to be common. |
Just a note to say it would be really great to have TLS support in Autobahn Android! |
Yep :) ! |
So at the moment, what's the best option for using wss on android ? Does it works in Autobahn ? 'Cause I really like this library!! :) |
oberstet did mention that there may be bugs on the TLS branch for your wss needs but so far it has been good to me. What we've used it for isn't in production tho..... |
alright thank you very much, i'll try it! |
I don't know if it's the best option, but we do use SecureWebSockets which I linked to above in our production code, sending quite a big number of messages. |
For my app, I switched for this reason to https://github.com/koush/android-websockets |
Any update on if/when this will be implemented? |
Sorry, I am overloaded with stuff. This will be implemented, definitely. I cannot promise you a deadline, but I will take up dev on AutobahnAndroid again soon - WAMPv2 needs to be implemened as well. |
There is also: https://github.com/TooTallNate/Java-WebSocket |
Since the NIO issue has supposedly been resolved on Android >= 3.0, will this work out of the box on API levels >= 14? I haven't had much luck with the other implementations mentioned on this thread. :( |
@oberstet please add wss support.. Autobahn was super perfect for ws.. But for wss , using TLS branch, connection goes sometimes. |
+1 for wss support from autobahn. I've been watching this space since last 1 year for WSS ): |
+1 for wss support from autobahn. |
1 similar comment
+1 for wss support from autobahn. |
+1 for wss support from autobahn.. |
1 similar comment
+1 for wss support from autobahn.. |
+1 for wss support from autobahn. |
BTW, is there any work around to have a secure data exchange? |
is this topic alive ? |
We have found somebody who will do an update of Autobahn|Android (which will include support for WAMP v2). No definite timeline yet (best guess at the moment: Q3). |
this will be addressed as part of #92 |
Any status update on that timeline? |
+1 for wss support from autobahn. |
Hey today November 2016 and still no any official support for wss :( There only one stable option for Android now so far is https://github.com/TooTallNate/Java-WebSocket which is support ssl. The rest solutions is useless because lack of full wss support for websockets. Why like this? Why we don't have strong secure layer support in websocket libraries for Android? Websocket is not popular for professional developers? Or anyone don't care about sensitivity of their data in apps and use ws in production? |
@atonamy Neovisionaries web socket client: https://github.com/TakahikoKawasaki/nv-websocket-client also supports wss. |
@erobic |
No description provided.
The text was updated successfully, but these errors were encountered: