It seem like there is a problem with wws connection to jServer.
I tried it with jWebSocketClient and new port of Android Autobahn with secure connection from 'deamon':
http://www.b4x.com/android/forum/threads/securewebsocket-client-library.45981/
While using it with standard jWebSocketClient i get:
WebSocket Closed: Cannot init SSL
in logs
While using with Android client i get:
internal error (java.lang.NullPointerException)
It connects fine to service like: wss://echo.websocket.org
I use it with these examples:
http://www.b4x.com/android/forum/threads/websocket-client-library.40221/
And my server config looks like this:
I tried it with jWebSocketClient and new port of Android Autobahn with secure connection from 'deamon':
http://www.b4x.com/android/forum/threads/securewebsocket-client-library.45981/
While using it with standard jWebSocketClient i get:
WebSocket Closed: Cannot init SSL
in logs
While using with Android client i get:
internal error (java.lang.NullPointerException)
It connects fine to service like: wss://echo.websocket.org
I use it with these examples:
http://www.b4x.com/android/forum/threads/websocket-client-library.40221/
And my server config looks like this:
B4X:
srvr.Initialize("")
srvr.Port = 444
srvr.AddWebSocket("/ws", "B4A")
Dim ssl As SslConfiguration
ssl.Initialize
ssl.SetKeyStorePath(File.DirApp, "keystore") 'path to keystore file
ssl.KeyStorePassword = "123456"
ssl.KeyManagerPassword = "123456"
srvr.SetSslConfiguration(ssl, 443)
Log(srvr.SslPort)
srvr.Start